DataDrivenSparse provides a universal framework to infer systems of equations using sparse regression. Assume the system:
We might then be able to express the unknown function
And simply solve the least squares problem
In the simplest case, we could use a Taylor expansion. However, if we want interpretable results, we need a key ingredient: sparsity! So, instead we aim to solve the problem
In its original version or via sufficient relaxation of the
Similarly, implicit problems of the form
can be solved using an ImplicitOptimizer. Similar to the formulation above, we try to solve the corresponding optimization problem
Where the matrix of evaluated basis elements
!!! warning "Tuning parameters for sparse regression"
The algorithms used by `DataDrivenSparse` are sensitive to the tuning of the hyperparameters! These are problem and coefficient specific, e.g., depend on the data and the unknown equations. While the examples used here are designed to work well, the used settings are not guaranteed to lead to success on other problems. Users who want to explore the space of possible hyperparameters further might be interested in using [Hyperopt.jl](https://github.com/baggepinnen/Hyperopt.jl).
STLSQ
ADMM
SR3
WyNDA
ImplicitOptimizer
SoftThreshold
HardThreshold
ClippedAbsoluteDeviation