Skip to main content

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.

Metadata

Release files for SimpleGP 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for SimpleGP 1.0.1
File Size Uploaded
SimpleGP-1.0.1.tar.gz 7.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for SimpleGP 1.0.1
File Interpreter ABI Platform
SimpleGP-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 18.3 kB

Release files / SimpleGP-1.0.1.tar.gz

Download URL SimpleGP-1.0.1.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a94679c03e5dcde0b5bf2ce90e4202a4eedab63d5469138fce40c49e827bdfe4
BLAKE2b-256 checksum
How to use checksums
b3d3cc905b49813af85c7c0b61326175cee86fac76f71b451f6d2ad61713f6f0
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / SimpleGP-1.0.1-py3-none-any.whl

Download URL SimpleGP-1.0.1-py3-none-any.whl
Size 10.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9edef9385d34bc39d0bec7b488c575705f74a319c420688c864c269c30967f98
BLAKE2b-256 checksum
How to use checksums
c2c0dd510a404739513b9472976f301a5a662d722be7883295baf044eb8ccbad
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

0.9.9

2 release files

0.9.5

2 release files

0.9.4

2 release files

0.9.3

2 release files

0.9.2

2 release files

0.9.1

3 release files

0.5

1 release file

0.4

1 release file

0.3

1 release file

0.2

1 release file

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page