source: framspy/run-evolalg_steps-examples.cmd @ 1288

Last change on this file since 1288 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.4 KB
Line 
1rem To learn about all available options of each .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 from minimalistic example source (examples.standard)
11python -m evolalg_steps.examples.standard          -path %DIR_WITH_FRAMS_LIBRARY%   -opt numneurons
12
13
14rem as above but "chaining" .sim files, subsequent files overwrite selected parameters
15python -m evolalg_steps.examples.standard          -path %DIR_WITH_FRAMS_LIBRARY%   -sim "eval-allcriteria.sim;deterministic.sim;sample-period-longest.sim"    -opt velocity
16
17
18rem simple one-criterion evolution but more options available in examples.niching_novelty, here: hard limit on the number of Parts and debugging messages
19python -m evolalg_steps.examples.niching_novelty   -path %DIR_WITH_FRAMS_LIBRARY%   -opt velocity   -max_numparts 6   -debug
20
21
22rem "local" niching
23python -m evolalg_steps.examples.niching_novelty   -path %DIR_WITH_FRAMS_LIBRARY%   -opt vertpos    -fit knn_niching  -knn 3    -max_numjoints 8 -popsize 10 -generations 30
24
25
26rem two criteria, '-dissim ...' can also be used to include dissimilarity as one of the criteria
27python -m evolalg_steps.examples.multicriteria     -path %DIR_WITH_FRAMS_LIBRARY%   -popsize 40 -generations 10 -opt velocity,vertpos
Note: See TracBrowser for help on using the repository browser.