Skip to main content

No project description provided

Project description

Simple Genetic Programming

For Symbolic Regression

This Python 3 code is a simple implementation of genetic programming for symbolic regression, and has been developed for educational purposes.

Dependencies

numpy & sklearn. The file test.py shows an example of usage.

Installation

You can install it with pip using python3 -m pip install --user simplegp, or locally by downloading the code and running python3 setup.py install --user.

Reference

If you use this code, please support our research by citing one (or more) of our works for which this code was made or adopted:

M. Virgolin, A. De Lorenzo, E. Medvet, F. Randone. "Learning a Formula of Interpretability to Learn Interpretable Formulas". Parallel Problem Solving from Nature -- PPSN XVI, pp. 79--93, Springer (2020). (arXiv preprint arXiv:2004.11170)

M. Virgolin. "Genetic Programming is Naturally Suited to Evolve Bagging Ensembles". arXiv preprint arXiv:2009.06037v5 (2021)

Multi-objective

For a multi-objective version, see pyNSGP.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

SimpleGP-1.0.1.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

SimpleGP-1.0.1-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file SimpleGP-1.0.1.tar.gz.

File metadata

  • Download URL: SimpleGP-1.0.1.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for SimpleGP-1.0.1.tar.gz
Algorithm Hash digest
SHA256 a94679c03e5dcde0b5bf2ce90e4202a4eedab63d5469138fce40c49e827bdfe4
MD5 1992953af4c8ad7e5fc5438f3c874ce5
BLAKE2b-256 b3d3cc905b49813af85c7c0b61326175cee86fac76f71b451f6d2ad61713f6f0

See more details on using hashes here.

File details

Details for the file SimpleGP-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: SimpleGP-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for SimpleGP-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9edef9385d34bc39d0bec7b488c575705f74a319c420688c864c269c30967f98
MD5 985ef7f3abca1dd742b6eeea50cd80be
BLAKE2b-256 c2c0dd510a404739513b9472976f301a5a662d722be7883295baf044eb8ccbad

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page