Changelog#

Changelog#

1.0 (2026-11-29) — first release#

  • Python successor of the GP-OLS MATLAB toolbox of Madár, Abonyi and Szeifert (Ind. Eng. Chem. Res. 44(9), 3178–3186, 2005): GPOLSRegressor evolves linear-in-parameters models and prunes their terms by the error reduction ratio of orthogonal least squares; a backward check of unique contributions guards against collinear terms. Together with NARXRegressor it identifies the order and structure of nonlinear input–output models.

  • Expression core: prefix trees with 23 protected primitives, analytic parameter Jacobians (forward mode), interval arithmetic, SymPy conversion with a whitelist for parsed text, and the fitted Equation with metrics, LaTeX and JSON serialization.

  • Tree-based genetic programming (SymbolicRegressor, SymbolicClassifier): ramped half-and-half and PTC2 initialization; subtree, point, hoist, shrink, insertion, constant and semantic-similarity variation; linear scaling; Levenberg–Marquardt parameter optimization; tournament, double-tournament, ε-lexicase, NSGA-II and age–fitness Pareto selection; islands with migration; a Pareto archive and model selection by BIC, AIC, knee, tolerance, the PySR score or validation data. Classification by critical equations after Kummer, Varga and Abonyi (2019).

  • Multi-gene GP (MultiGeneRegressor), goal-oriented symbolic projections (SymbolicTransformer) after Dörgő, Kulcsár and Abonyi (2021), and two new methods: ERR-guided variation and the cooperative OLS–GP term library (CooperativeOLSRegressor).

  • Sparse and deterministic search: STLSQ, Lasso, FROLS and best-subset regression on polynomial, function and hinge libraries (SparseRegressor); fast function extraction (FFXRegressor); exhaustive enumeration with MDL selection (ExhaustiveRegressor).

  • Probabilistic and language-guided search: the Bayesian machine scientist with parallel tempering (BayesianSymbolicRegressor), a new risk-seeking grammar cross-entropy search (GrammarCERegressor), and a provider-independent protocol for expressions proposed by language models (LLMGuidedRegressor, TemplateProposer).

  • Dynamics: lagged regressors, NARX models with one-step and free-run evaluation, order scan, derivative estimation (finite differences, Savitzky–Golay, smoothing splines), SINDy, SymbolicODE and ODEModel.

  • Domain knowledge: SI units and dimensional consistency as a penalty, Buckingham Π groups, shape constraints (monotonicity, convexity, bounds) by sampling or interval arithmetic, and separability and symmetry tests on a neural surrogate.

  • Analysis: rule-based and SymPy simplification with coefficient rounding; Pareto tools; cross-validation of whole searches; residual diagnostics; Wald, profile-likelihood and bootstrap intervals; delta-method prediction bands; Sobol indices; building blocks and library learning; variable interaction networks; model families by semantic clustering (new); bootstrap ensembles.

  • MLOps: code generation for Python, NumPy, C, MATLAB, Julia, Excel and LaTeX; PMML 4.4 and JSON; a file-based model registry, model cards, a run tracker with optional MLflow logging and a drift monitor (PSI, Kolmogorov–Smirnov, domain share, Page–Hinkley).

  • Data sets and benchmarks: Nguyen, Koza, Keijzer, Vladislavleva, Pagie, Friedman and Feynman problems with units; Kepler’s third law, the Semenov thermal runaway data and six dynamical systems; a benchmark runner with the SRBench solution criterion.

  • 41 gallery examples, Sphinx documentation and the companion book (PDF, EPUB and web edition) Discovering Equations from Data with Python.