source: framspy/run-evolalg-examples.cmd @ 1302

Last change on this file since 1302 was 1289, checked in by Maciej Komosinski, 10 months ago

fitness_set_negative_to_zero boolean (a.k.a. "only positive fitness", needed for novelty and niching diversity control) becomes a command-line flag instead of a hardcoded value

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 evolution with niching
11python -m evolalg.run_frams_niching  -path %DIR_WITH_FRAMS_LIBRARY%  -sim "eval-allcriteria.sim;deterministic.sim;sample-period-longest.sim" -opt velocity -genformat 0 -dissim 1 -fit knn_niching -archive 50 -fitness_set_negative_to_zero  -max_numparts 15 -max_numneurons 15 -max_numjoints 30 -max_numconnections 30  -max_numgenochars 10000 -popsize 50 -generations 10 -normalize none -hof_savefile HoF-niching.gen
12
13rem a generic island model example
14python -m evolalg.run_frams_islands  -path %DIR_WITH_FRAMS_LIBRARY%  -islands=10 -generations_migration=5 -sim "eval-allcriteria.sim;only-body.sim;deterministic.sim;sample-period-2.sim" -opt vertpos -genformat 1 -max_numparts 15 -max_numneurons 15 -max_numjoints 5 -max_numconnections 5  -max_numgenochars 100 -popsize 20 -generations 15  -hof_savefile HoF-islands.gen
15
16rem a combination of various parameters for thorough testing, see source of 'test_diferent_settings.py'
17rem python -m evolalg.tests.test_diferent_settings  -path %DIR_WITH_FRAMS_LIBRARY%  -sim "eval-allcriteria.sim"
18
19
20
21rem numerical examples (unrelated to Framsticks)
22python -m evolalg.run_numerical_example
23python -m evolalg.run_numerical_islands_example
Note: See TracBrowser for help on using the repository browser.