-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
260 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# | ||
# Used for running MNIST example with an asynchronous steady-state EA | ||
# | ||
# gremlin.py config.yml async.yml | ||
# | ||
algorithm: async | ||
async: # parameters for asynchronous steady-state EA | ||
init_pop_size: ${pop_size} # default to pop size, but can be set to the number of dask workers | ||
max_births: 25 | ||
ind_file: inds.csv # optional file for writing individuals as they are evaluated | ||
ind_file_probe: probe.log_ind # optional functor or function for writing ind_file | ||
# scheduler_file: if no dask scheduler file is specified, assume dask workers are per-core on localhost | ||
pipeline: | ||
- ops.random_selection # randomly select from pool of prospective parents | ||
- ops.clone | ||
- mutate_randint(expected_num_mutations=1, bounds=representation.MNISTRepresentation.genome_bounds) | ||
- ops.pool(size=1) # for ASEA needs to be one since we're asynchronous assigning a single offspring to a worker to be evaluated |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = 'v0.2dev' | ||
__version__ = 'v0.3' |
Oops, something went wrong.