trevorstephens/gplearn
Some data may be outdated — see provenance labels.
Genetic Programming in Python, with a scikit-learn inspired API observed · 2026-10-01
Health v2 · maintenance only
69/100
- Activity 89
- Release rhythm 25
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4227
- days_rel: 286
- days_push: 67
- n_releases_24m: 1
Adoption not part of the score
1890 stars · 325 forks observed · 2026-10-01
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-10-01 · 2edd26646278
- registry_pypi: https://pypi.org/pypi/gplearn/json · fetched 2026-08-29 · 6b1689cbae54
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| trevorstephens/gplearn | main | 69 |
For agents
markdown · JSON · MCP: product_card(name="trevorstephens/gplearn")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem