dx/dt against x: points = data, green = true law, orange = sparse fit
Coefficients: green = true, orange = recovered

Sparse Identification of Dynamics: Thresholding a Library of Terms (2D)

Recover the equation behind noisy measurements of a rate of change. Build a library of candidate terms, fit them all by least squares, then repeatedly zero the small coefficients and refit the rest. Change the noise, the number of samples, the threshold and the true law, and watch the active terms, the coefficient error and the fitted curve. A Blender-built plotting easel with normal-equation, noise-free recovery and Monte Carlo standard-error checks built in.

Made with 🟠 Blender