Giter Site home page Giter Site logo

kelvin229 / deap_genetic_programming Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 1022 KB

Using Genetic programming, an Evolutionary Algorithm, to solve and research the problem of Symbolic regression analysis and Rice Classification.

Python 100.00%
deap deap-library evolutionary-algorithms genetic-programming machine-learning machine-learning-algorithms packages python rice-classification symbolic-regression

deap_genetic_programming's Introduction

deap_genetic_programming

Requirements

  • Python
  • Pip

Usage

  1. Install assignment packages
$ pip install -e packages/symreg packages/riceclf
  1. Run the symbolic regression experiments
$ symreg
  • For usage help:
$ symreg --help
  1. Run the rice classification experiment.
  • We can run the experiment using the following commands:
$ riceclf experiment -o tmp --seed 123 456 789 2974 2479 24755 74593 57993 24749 279
  • Now give it some time for each (alot of time, go get a coffee or something... and come back to the program), to allow it to process until its all done.
  • Then to plot the results, run the following command:
$ riceclf plot tmp/result.csv tmp/result.png
  • Now check the tmp folder for the results in the root directory of the project.
  1. For an individual run, create a folder riceclf_output using the following command:
$ mkdir riceclf_output
  • Then run the following command to run the experiment and save the results to a file riceclf_output/run123.csv:
$ riceclf run -o riceclf_output/run123.csv --seed 123
  • Then to plot the results, run the following command:
$ riceclf plot riceclf_output/run123.csv riceclf_output/run123.png
  1. For usage help:
$ riceclf --help
$ riceclf run --help
$ riceclf experiment --help
$ riceclf plot --help

References:

  • F.-A. Fortin, F.-M. De Rainville, M.-A. Gardner, M. Parizeau, and C. Gagné, “DEAP: Evolutionary algorithms made easy,” Journal of Machine Learning Research, vol. 13, pp. 2171–2175, jul 2012. https://deap.readthedocs.io/en/master/
  • Cinar, I. and Koklu, M. (2019). Classification of Rice Varieties Using Artificial Intelligence Methods. International Journal of Intelligent Systems and Applications in Engineering, vol.7, no.3 (Sep. 2019), pp.188-194. https://doi.org/10.18201/ijisae.2019355381.

deap_genetic_programming's People

Contributors

gideonoludeyi avatar kelvin229 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.