Giter VIP home page Giter VIP logo

Comments (2)

PytLab avatar PytLab commented on August 11, 2024

gaft支持on-the-fly analysis 插件的编写

  1. https://github.com/PytLab/gaft/blob/master/gaft/analysis/fitness_store.py 是内置生成best_fit.py的plugin,你可以根据这个编写属于自己的plugin,gaft会在迭代的时候回调相应的函数。
  2. 所有的analyasis plugin类都继承自OnTheFlyAnalysis具体可以参考:https://github.com/PytLab/gaft/blob/master/gaft/plugin_interfaces/analysis.py
  3. gaft中可以通过装饰器将你自定义的analysis注册到engine中,可以参考这个例子脚本:https://github.com/PytLab/gaft/blob/master/examples/ex01/ex01.py#L44

from gaft.

littletomatodonkey avatar littletomatodonkey commented on August 11, 2024

嗯嗯好的,我已经按照您的提示实现了一个自定义保存的分析类,里面可以修改保存结果的文件名,谢谢您的提示了!

from gaft.

Related Issues (20)

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.