trevorstephens/gplearn
Genetic Programming in Python, with a scikit-learn inspired API observed · 2026-08-28
Health v2 · maintenance only
75/100
- Activity 97
- Release rhythm 33
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4179
- days_rel: 238
- days_push: 19
- n_releases_24m: 1
Adoption not part of the score
1881 stars · 326 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
gplearn is a Python library implementing genetic programming with a scikit-learn compatible API, focused on symbolic regression. It provides SymbolicRegressor, SymbolicClassifier, and SymbolicTransformer estimators that fit into standard scikit-learn pipelines and grid search.
Use cases
- discover mathematical formulas that fit my data
- symbolic regression in python
- evolve interpretable models instead of black-box regressors
- automated feature engineering with genetic programming
- binary classification with evolved expressions
- integrate genetic programming into a scikit-learn pipeline
When to choose
- you want interpretable mathematical expressions rather than opaque models
- you need scikit-learn fit/predict compatibility for pipelines and grid search
- you want automated non-linear feature transformation
When to avoid
- you need general-purpose genetic programming beyond symbolic regression
- you need state-of-the-art predictive accuracy on large noisy datasets
- you need GPU acceleration or very fast training
Facets
library · maturity stable
machine-learning data-science machine-learning data-science python genetic-programming symbolic-regression scikit-learn evolutionary-algorithms feature-engineering
2 sources
- readme: https://github.com/trevorstephens/gplearn · fetched 2026-08-28 · 2edd26646278
- registry_pypi: https://pypi.org/pypi/gplearn/json · fetched 2026-08-29 · 6b1689cbae54
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| trevorstephens/gplearn | main | 75 |
For agents
markdown · JSON · MCP: product_card(name="trevorstephens/gplearn")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem