eqdisco.simplify.round_coefficients#

eqdisco.simplify.round_coefficients(model, X, y, tolerance=0.01, digits=(1, 2, 3, 4, 5, 6))[source]#

Round all parameters to the fewest significant digits that keep the MSE within (1+tolerance).

Integers and simple fractions (denominator at most 10) are tried first for each parameter that is close to one.

Examples using eqdisco.simplify.round_coefficients#

Simplification of evolved models

Simplification of evolved models