Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TST: Make data-dependent test not depend upon data.
Previously, test_complexity and test_coefficients just tested that - required names are present in SINDy object - when fit on some amount of data, less than 10 terms were nonzero - These are essentially the same test, since model.complexity is just a wrapper around it's optimizer's complexity property But Lorenz has 7 nonzero terms, and when I changed the data to speed up tests, data had a few more nonzeros.
- Loading branch information