Giter Site home page Giter Site logo

keras-codeepneat's Introduction

Keras-CoDeepNEAT

CoDeepNEAT inspired implementation using Keras and Tensorflow as backend.

Experiment discussion and description: arXiv:2002.04634

General instructions

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

Outputs

The framework generates a series of files logging the evolution of populations (into .log, .csv and .json files), including informations related to:

  • Model assembling, evaluation, speciation, reproduction and generation summary details (test.log)
  • Scores, features and species for individuals over generations (iterations.csv)
  • Training history for final model (training.csv and training.json)
  • Images representing modules, blueprints, assembled graphs, keras models for every individual (\images directory in .png format)
  • Keras models related to the best models for every generation (\models directory in .h5 format).

Example Scripts

  • run_mnist.py describes a sample run using the MNIST dataset.

  • run_cifar10.py describes a sample run using the CIFAR-10 dataset.

Requirements

  • Keras 2.2.5
  • Tensorflow 1.13.1.
  • Networkx 2.3.
  • PyDot 1.4.1
  • GraphViz 0.11.1
  • SkLearn 0.21.3

Compartibility with other version has not been tested.

Citing Keras-CoDeepNEAT

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}
}

Dev infos

Code developed and tested by Jonas Bohrer ([email protected])

keras-codeepneat's People

Contributors

jonasbohrer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

keras-codeepneat's Issues

replication of experimental results on CIFAR10

Hello,

I'm a PhD student doing research into neuroevo and I am trying to replicate your paper's CIFAR10 results. I ran the example script, but the parameters for the generations and training epochs don't seem to match what was used in the paper to get the 7.3% test error. Do you guys have the original training script so I can try to reproduce the results?

example scripts

In the file example_scripts/run_mnist.py, import imp needs to be added

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.