trevorstephens/gplearn

Genetic Programming in Python, with a scikit-learn inspired API

65
/ 100
Established

This tool helps data scientists and machine learning engineers automatically discover the mathematical formulas that describe relationships within their data. You input your datasets with known independent and dependent variables, and it outputs a mathematical expression that predicts new data. It's designed for those who want to find underlying data relationships without manually testing many equations.

1,819 stars. Available on PyPI.

Use this if you need to find an unknown mathematical model that best explains the relationships within your numerical data for prediction or insight.

Not ideal if you're looking for a general-purpose genetic programming library for tasks beyond symbolic regression or classification.

predictive-modeling data-analysis model-discovery feature-engineering quantitative-research
Maintenance 6 / 25
Adoption 10 / 25
Maturity 25 / 25
Community 24 / 25

How are scores calculated?

Stars

1,819

Forks

319

Language

Python

License

BSD-3-Clause

Last pushed

Jan 10, 2026

Commits (30d)

0

Dependencies

2

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/trevorstephens/gplearn"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.