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 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.0.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: SimpleGP-1.0.0.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for SimpleGP-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e855a58dbc42eada8beef85c3d02b986a2dc833bcc2dc273cab6f204bfe0217f
MD5 070032a63a3dc0cf3a21ee7329da9804
BLAKE2b-256 9c0fb9809371a16ecb69e7b2cfb0169c04c1a4f097e0c474b3f7045a840dbfd5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: SimpleGP-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for SimpleGP-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 628a80905a6bbf496d32d41a21d00164d312e526c9e7f1efe2cbd4b9b6f87533
MD5 4ba5f12fc0044c4c2a911e3ff04a08a3
BLAKE2b-256 78d829724589c45dbb5333e7f6146a2bd9a7ae8ab86a7c60807692d22c82e356

See more details on using hashes here.

Supported by

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