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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| SimpleGP-1.0.1.tar.gz | 7.9 kB | Without provenance | Details for SimpleGP-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| SimpleGP-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for SimpleGP-1.0.1-py3-none-any.whl |
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
|
Security for SimpleGP 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.