source: framspy/run-deap-examples.cmd @ 1211

Last change on this file since 1211 was 1207, checked in by Maciej Komosinski, 21 months ago

Examples made more friendly to shells that treat semicolon "as;a;command;separator" (like bash or powershell)

File size: 1.1 KB
Line 
1rem To learn about all available options of the .py algorithm below, add "-h" to its parameters.
2rem Use the source code of the examples as a starting point for your customizations.
3rem Example usage:
4
5set DIR_WITH_FRAMS_LIBRARY=.........................
6
7
8
9
10rem simple one-criterion evolution, maximize the number of neurons
11python FramsticksEvolution.py   -path %DIR_WITH_FRAMS_LIBRARY%   -sim "eval-allcriteria.sim"  -opt numneurons
12 
13
14rem as above but "chaining" .sim files, subsequent files overwrite selected parameters
15python FramsticksEvolution.py   -path %DIR_WITH_FRAMS_LIBRARY%   -sim "eval-allcriteria.sim;deterministic.sim;sample-period-longest.sim"    -opt velocity
16
17
18rem introducing hard limit on the number of Parts, using f9 genetic encoding and saving Hall of Fame
19python FramsticksEvolution.py   -path %DIR_WITH_FRAMS_LIBRARY%   -opt velocity   -max_numparts 6    -genformat 9   -hof_savefile HoF-f9.gen
20
21
22rem two criteria
23python FramsticksEvolution.py   -path %DIR_WITH_FRAMS_LIBRARY%   -popsize 40    -generations 10    -opt velocity,vertpos
Note: See TracBrowser for help on using the repository browser.