Open book · version 1.0 · November 2026
Discovering Equations from Data with Python
Symbolic regression, genetic programming and the eqdisco toolbox
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.
Contents
- Preface
- 1Introduction
- 2Expressions, search spaces and parameters
- 3Genetic programming
- 4Linear-in-parameters models: OLS, MGGP and GP-OLS
- 5Sparse regression and deterministic search
- 6Probabilistic and language-guided search
- 7Dynamic systems
- 8Beyond regression: classifiers and projections
- 9Domain knowledge
- 10Analysis of discovered models
- 11From discovery to deployment
- 12Synthesis: choosing and combining methods
- AAPI reference
- BFrom the GP-OLS MATLAB toolbox
- CThe example gallery
- 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.