Comments (2)
gaft支持on-the-fly analysis 插件的编写
- https://github.com/PytLab/gaft/blob/master/gaft/analysis/fitness_store.py 是内置生成
best_fit.py
的plugin,你可以根据这个编写属于自己的plugin,gaft会在迭代的时候回调相应的函数。 - 所有的analyasis plugin类都继承自
OnTheFlyAnalysis
具体可以参考:https://github.com/PytLab/gaft/blob/master/gaft/plugin_interfaces/analysis.py - gaft中可以通过装饰器将你自定义的analysis注册到engine中,可以参考这个例子脚本:https://github.com/PytLab/gaft/blob/master/examples/ex01/ex01.py#L44
from gaft.
嗯嗯好的,我已经按照您的提示实现了一个自定义保存的分析类,里面可以修改保存结果的文件名,谢谢您的提示了!
from gaft.
Related Issues (20)
- ImportError: cannot import name 'GAEngine' HOT 4
- 那个染色体的单词好像是chromosome HOT 2
- question: individual, binary_individual, decimal_individual HOT 2
- fitness函数没有并行 HOT 4
- sum_fit maybe is 0 that causes error:ZeroDivisionError: float division by zero HOT 3
- decimal_individual中decode问题
- How to initial population with a specified solution
- Come in and have a look! 作为一名老用户,中肯地对此框架作出一些评价,走过路过的也希望来看一下。 HOT 1
- 请问我该怎么添加等式约束 HOT 3
- Weight optimization in order to minimize correlation
- RouletteWheelSelection ZeroDivisionError
- gaft 是否已经不再维护? HOT 1
- 多进程运行时,请问如何仅仅让主程序执行一些log文件? HOT 1
- The mutation operator occurs only at level of bits
- 自定义Individual类
- 自定义个体的过程中,mutate需要重载怎么做
- Question in RouletteWheelSelection?
- Windows10无法识别mpirun HOT 1
- Question: Best fitness values are written to best_fit.py
- GA并行化问题 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gaft.