The book#
Discovering Equations from Data with Python: Symbolic regression, genetic programming and the eqdisco toolbox is the companion book of the package. It develops the methods in one notation, separates the theory of every method from its experiments, closes each method with a summary box, and illustrates it with the scripts of the example gallery, so the book, the documentation and the code report the same numbers. The book is published under the CC BY 4.0 license: read it online, or download the PDF or the EPUB edition.
Contents#
Introduction: what an equation buys, the software landscape, notation, conventions of the package, a first session
Expressions, search spaces and parameters: prefix representation, protected primitives, the parameter Jacobian, interval bounds, the size of the search space, complexity, information criteria, linear scaling, Levenberg–Marquardt estimation
Genetic programming: initialization, variation, selection (tournament, lexicase, NSGA-II, age-fitness Pareto), bloat control, constants inside the search, islands, the archive and the choice of one model, library learning
Linear-in-parameters models: orthogonal least squares and the error reduction ratio, multi-gene GP, GP-OLS, ERR-guided variation, cooperative OLS–GP
Sparse regression and deterministic search: libraries, STLSQ, Lasso and best subset, fast function extraction, exhaustive search
Probabilistic and language-guided search: the Bayesian machine scientist, grammar cross-entropy search, language models as proposers
Dynamic systems: NARX identification, order selection, derivative estimation, SINDy and symbolic ODEs
Beyond regression: symbolic classification with critical equations, goal-oriented projections
Domain knowledge: physical units and dimensional analysis, shape constraints, separability and symmetries
Analysis of discovered models: simplification, validation, uncertainty, sensitivity, building blocks and variable interactions, model families, bootstrap ensembles
From discovery to deployment: export, registry, model cards and tracking, drift monitoring, benchmarks
Synthesis: the families side by side, a decision guide, combining methods, lessons of the examples, open problems
Appendices: API reference, migration from the GP-OLS MATLAB toolbox, catalogue of the example scripts.