CoDeepNEAT inspired implementation using Keras and Tensorflow as backend.
Experiment discussion and description: arXiv:2002.04634
Download the repository and import the base/kerascodeepneat.py
file into your Python Script.
This will give you access to the Population and Dataset classes, which are the only necessary classes to run the entire process.
Configuration parameters must be set, as in the examples run_cifar10.py
and run_mnist.py
in Example Scripts
The framework generates a series of files logging the evolution of populations (into .log, .csv and .json files), including informations related to:
run_mnist.py
describes a sample run using the MNIST dataset.
run_cifar10.py
describes a sample run using the CIFAR-10 dataset.
Compartibility with other version has not been tested.
If you use Keras-CoDeepNEAT in a scientific publication, we would appreciate citations to the following paper:
Jonas da Silveira Bohrer, Bruno Iochins Grisci, Marcio Dorn. Neuroevolution of Neural Network Architectures Using CoDeepNEAT and Keras, 2020, arXiv:2002.04634
Bibtex entry:
@misc{bohrer2020neuroevolution,
title={Neuroevolution of Neural Network Architectures Using CoDeepNEAT and Keras},
author={Jonas da Silveira Bohrer and Bruno Iochins Grisci and Marcio Dorn},
year={2020},
eprint={2002.04634},
archivePrefix={arXiv},
primaryClass={cs.NE}
}
Code developed and tested by Jonas Bohrer (jsbohrer@inf.ufrgs.br)