#408408th of 433 in ML frameworks and libraries

gplearn

Symbolic regression with genetic programming and a scikit-learn API

Stars
1.9k
License
BSD-3-Clause
Last commit
Jan 2026
Last release
Jan 2026
Language
Python
Stars, last 30 weeks+72
28 Apr 2026: 1,827 stars5 May 2026: 1,828 stars12 May 2026: 1,832 stars19 May 2026: 1,837 stars26 May 2026: 1,841 stars2 Jun 2026: 1,843 stars9 Jun 2026: 1,848 stars16 Jun 2026: 1,852 stars23 Jun 2026: 1,856 stars30 Jun 2026: 1,858 stars7 Jul 2026: 1,860 stars14 Jul 2026: 1,861 stars21 Jul 2026: 1,862 stars28 Jul 2026: 1,864 stars4 Aug 2026: 1,865 stars11 Aug 2026: 1,869 stars18 Aug 2026: 1,870 stars25 Aug 2026: 1,876 stars1 Sept 2026: 1,877 stars8 Sept 2026: 1,878 stars15 Sept 2026: 1,884 stars22 Sept 2026: 1,886 stars29 Sept 2026: 1,886 stars6 Oct 2026: 1,890 stars13 Oct 2026: 1,893 stars20 Oct 2026: 1,893 stars27 Oct 2026: 1,894 stars3 Nov 2026: 1,897 stars10 Nov 2026: 1,897 stars17 Nov 2026: 1,899 stars24 Nov 2026: 1,899 stars

1,827 on 28 Apr 20261,899 on 24 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

gplearn is a Python library that evolves mathematical expressions to fit data using genetic programming. It provides SymbolicRegressor, a binary SymbolicClassifier and SymbolicTransformer for automated feature engineering, all with scikit-learn fit/predict semantics, so they work in scikit-learn pipelines and grid search.

Who it is for: Data scientists wanting interpretable formulas or evolved features

Strengths

  • Drop-in scikit-learn estimators: works with pipelines and grid search
  • Produces explicit mathematical expressions instead of opaque model weights
  • SymbolicTransformer generates engineered features for downstream models
  • Documented on Read the Docs, with CI and coverage badges

Weaknesses

  • Deliberately limited to symbolic regression, not general genetic programming
  • Classification is binary only
  • Many parameters to tune to get good results
  • Requires a fairly recent scikit-learn version

What it needs

  • no GPU
  • Needs scikit-learn
  • Models: SymbolicRegressor, SymbolicClassifier, SymbolicTransformer

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Also in ML frameworks and libraries

See all 433
Also in ML frameworks and libraries
RankProjectScore
#406anygrasp_sdkLicensed SDK for robot grasp detection and tracking from point clouds1.1k starsno license18 out of 100
#407alibi-detectPython library for outlier, adversarial and drift detection on model data2.6k starscustom license17 out of 100
#409lightautomlAutoML library for tabular, text, image and time series data1.5k starsApache-2.017 out of 100
#410davar-lab-ocrPyTorch OCR toolbox for text detection, recognition and document understanding760 starsApache-2.017 out of 100
#411petastormParquet data loader for TensorFlow, PyTorch and Spark training1.9k starsApache-2.016 out of 100