Discovering Equations from Data with PythonSymbolic regression, genetic programming and the eqdisco toolbox
Cover of Discovering Equations from Data with Python

Open book · version 1.0 · November 2026

Discovering Equations from Data with Python

Symbolic regression, genetic programming and the eqdisco toolbox

János Abonyi · University of Pannonia, Veszprém

Symbolic regression searches the space of mathematical expressions for compact formulas that fit measured data. This book develops genetic programming, linear-in-parameters models pruned by orthogonal least squares (GP-OLS), sparse regression, exhaustive, Bayesian and language-model-guided search, and shows how to identify dynamical systems, enforce domain knowledge, and analyse, validate and deploy the discovered equations — each with the eqdisco Python package. Every figure of a computed result comes from an example script that runs as a Jupyter notebook.

Start readingPDF EPUBSoftware documentation

Contents

  1. Preface
  2. 1Introduction
  3. 2Expressions, search spaces and parameters
  4. 3Genetic programming
  5. 4Linear-in-parameters models: OLS, MGGP and GP-OLS
  6. 5Sparse regression and deterministic search
  7. 6Probabilistic and language-guided search
  8. 7Dynamic systems
  9. 8Beyond regression: classifiers and projections
  10. 9Domain knowledge
  11. 10Analysis of discovered models
  12. 11From discovery to deployment
  13. 12Synthesis: choosing and combining methods
  14. AAPI reference
  15. BFrom the GP-OLS MATLAB toolbox
  16. CThe example gallery
  17. Bibliography

© 2026 János Abonyi. This book is licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0, https://creativecommons.org/licenses/by/4.0/): it may be copied, redistributed, and adapted for any purpose, provided the source is credited. The eqdisco software described in the book is released under the MIT License.

Software: https://github.com/ComplexSystemsIntelligence/eqdisco
Documentation: https://complexsystemsintelligence.github.io/eqdisco
Installation: pip install eqdisco

The research summarized in this book was supported by the National Research, Development and Innovation Office of Hungary (NKFIH) through the OTKA 143482 project.

This web edition is generated from the same LaTeX source as the PDF edition; equations, figures, and numbering follow the PDF. Every figure that shows a computed result was produced by an example script of the package.