Git Product home page Git Product logo

ga-pid_matlab's Introduction

GA文件夹是单参数的优化,没考虑负值。若是两三个参数可以把注释掉的内容取消注释即可 GA-PID是优化pid三个参数的遗传算法,其中适应度值的计算考虑了超调、调节时间和误差积分。 theta.slx是对应的模型 遗传算法主要原则:优胜劣汰。 1.初始化 2.适应度计算 3.复制。选择父代中适应值最好的若干保持不变,直接完整的复制到子代中。 4.选择、交叉。通过轮盘赌法选择父代进行交叉 5.变异 编码采用2进制,考虑保留4位小数,因此根据上下限之间的范围,如[0,9], (9-0)*10000 然后求出对应的需要的二进制的位数 =17

ga-pid_matlab's People

Contributors

tianzhendong avatar

Stargazers

 avatar Luo Qilin avatar  avatar  avatar Ma Haohao avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.