-
Notifications
You must be signed in to change notification settings - Fork 2
Evolutionary Parameters
Rushikesh Jachak edited this page Jul 9, 2020
·
1 revision
You can read more about the parameters required for Grammatical Evolution here. The default parameters used for GETS framework are:
1. CACHE: True
2. CODON_SIZE: 512
3. CROSSOVER: variable_onepoint
4. CROSSOVER_PROBABILITY: 0.90
5. MUTATION: int_flip_per_codon
6. MUTATION_PROBABILITY: 0.01
7. DATASET_TRAIN: path_to_training_dataset
8. DATASET_TEST: path_to_test_dataset
9. GENERATIONS: 100
10. INITIALISATION: PI_grow
11. POPULATION_SIZE: 500
12. REPLACEMENT: generational
13. SELECTION: tournament
14. TOURNAMENT_SIZE: 2
15. VERBOSE: False
16. GRAMMAR_FILE: path_to_grammar_file
17. FITNESS_FUNCTION: path_to_fitness function
Note 4: You can create and experiment parameters by creating a parameter.txt file and storing it in parameters/gets folder. To run the experiment with same file.
python ponyge.py --parameters gets/parameter.txt