63
63
lookup_evolve.py [-h] [--generations GENERATIONS] [--population POPULATION]
64
64
[--mu MUTATION_RATE] [--bottleneck BOTTLENECK] [--processes PROCESSORS]
65
65
[--output OUTPUT_FILE] [--objective OBJECTIVE] [--repetitions REPETITIONS]
66
- [--noise NOISE] [--nmoran NMORAN]
66
+ [--turns TURNS] [-- noise NOISE] [--nmoran NMORAN]
67
67
[--plays PLAYS] [--op_plays OP_PLAYS] [--op_start_plays OP_START_PLAYS]
68
68
69
69
Options:
@@ -76,18 +76,14 @@ Options:
76
76
--output OUTPUT_FILE File to write data to [default: lookup_tables.csv]
77
77
--objective OBJECTIVE Objective function [default: score]
78
78
--repetitions REPETITIONS Repetitions in objective [default: 100]
79
+ --turns TURNS Turns in each match [default: 200]
79
80
--noise NOISE Match noise [default: 0.00]
80
81
--nmoran NMORAN Moran Population Size, if Moran objective [default: 4]
81
82
--plays PLAYS Number of recent plays in the lookup table [default: 2]
82
83
--op_plays OP_PLAYS Number of recent plays in the lookup table [default: 2]
83
84
--op_start_plays OP_START_PLAYS Number of opponent starting plays in the lookup table [default: 2]
84
85
` ` `
85
86
86
- There are a number of options and you' ll want to set the
87
- mutation rate appropriately. The number of keys defining the strategy is
88
- `2**{n + m + 1}` so you want a mutation rate in the neighborhood of `2**(-n-m)`
89
- so that there' s enough variation introduced.
90
-
91
87
# ## Particle Swarm
92
88
93
89
` ` ` bash
@@ -100,21 +96,19 @@ Based on Martin Jones @mojones original LookerUp code
100
96
101
97
Usage:
102
98
pso_evolve.py [-h] [--generations GENERATIONS] [--population POPULATION]
103
- [--mu MUTATION_RATE ] [--bottleneck BOTTLENECK ] [--processes PROCESSORS ]
104
- [--output OUTPUT_FILE ] [--objective OBJECTIVE ] [--repetitions REPETITIONS ]
105
- [--noise NOISE] [-- nmoran NMORAN]
99
+ [--processes PROCESSORS ] [--output OUTPUT_FILE ] [--objective OBJECTIVE ]
100
+ [--repetitions REPETITIONS ] [--turns TURNS ] [--noise NOISE ]
101
+ [--nmoran NMORAN]
106
102
[--plays PLAYS] [--op_plays OP_PLAYS] [--op_start_plays OP_START_PLAYS]
107
103
108
104
Options:
109
105
-h --help Show help
110
- --generations GENERATIONS Generations to run the EA [default: 500]
111
106
--population POPULATION Starting population size [default: 10]
112
- --mu MUTATION_RATE Mutation rate [default: 0.1]
113
- --bottleneck BOTTLENECK Number of individuals to keep from each generation [default: 5]
114
107
--processes PROCESSES Number of processes to use [default: 1]
115
108
--output OUTPUT_FILE File to write data to [default: pso_tables.csv]
116
109
--objective OBJECTIVE Objective function [default: score]
117
110
--repetitions REPETITIONS Repetitions in objective [default: 100]
111
+ --turns TURNS Turns in each match [default: 200]
118
112
--noise NOISE Match noise [default: 0.00]
119
113
--nmoran NMORAN Moran Population Size, if Moran objective [default: 4]
120
114
--plays PLAYS Number of recent plays in the lookup table [default: 2]
@@ -139,7 +133,7 @@ Usage:
139
133
ann_evolve.py [-h] [--generations GENERATIONS] [--population POPULATION]
140
134
[--mu MUTATION_RATE] [--bottleneck BOTTLENECK] [--processes PROCESSORS]
141
135
[--output OUTPUT_FILE] [--objective OBJECTIVE] [--repetitions REPETITIONS]
142
- [--noise NOISE] [--nmoran NMORAN]
136
+ [--turns TURNS] [-- noise NOISE] [--nmoran NMORAN]
143
137
[--features FEATURES] [--hidden HIDDEN] [--mu_distance DISTANCE]
144
138
145
139
Options:
@@ -152,6 +146,7 @@ Options:
152
146
--output OUTPUT_FILE File to write data to [default: ann_weights.csv]
153
147
--objective OBJECTIVE Objective function [default: score]
154
148
--repetitions REPETITIONS Repetitions in objective [default: 100]
149
+ --turns TURNS Turns in each match [default: 200]
155
150
--noise NOISE Match noise [default: 0.00]
156
151
--nmoran NMORAN Moran Population Size, if Moran objective [default: 4]
157
152
--features FEATURES Number of ANN features [default: 17]
@@ -169,19 +164,20 @@ Usage:
169
164
fsm_evolve.py [-h] [--generations GENERATIONS] [--population POPULATION]
170
165
[--mu MUTATION_RATE] [--bottleneck BOTTLENECK] [--processes PROCESSORS]
171
166
[--output OUTPUT_FILE] [--objective OBJECTIVE] [--repetitions REPETITIONS]
172
- [--noise NOISE] [--nmoran NMORAN]
167
+ [--turns TURNS] [-- noise NOISE] [--nmoran NMORAN]
173
168
[--states NUM_STATES]
174
169
175
170
Options:
176
171
-h --help Show help
177
172
--generations GENERATIONS Generations to run the EA [default: 500]
178
- --population POPULATION Starting population size [default: 10 ]
173
+ --population POPULATION Population size [default: 40 ]
179
174
--mu MUTATION_RATE Mutation rate [default: 0.1]
180
- --bottleneck BOTTLENECK Number of individuals to keep from each generation [default: 5 ]
175
+ --bottleneck BOTTLENECK Number of individuals to keep from each generation [default: 10 ]
181
176
--processes PROCESSES Number of processes to use [default: 1]
182
177
--output OUTPUT_FILE File to write data to [default: fsm_tables.csv]
183
178
--objective OBJECTIVE Objective function [default: score]
184
179
--repetitions REPETITIONS Repetitions in objective [default: 100]
180
+ --turns TURNS Turns in each match [default: 200]
185
181
--noise NOISE Match noise [default: 0.00]
186
182
--nmoran NMORAN Moran Population Size, if Moran objective [default: 4]
187
183
--states NUM_STATES Number of FSM states [default: 8]
0 commit comments