Closed bentaps closed 3 months ago
This is because you're on the master
branch of the example notebook, but using a stable release of pysindy. Check out the stable example of the notebook. The master branch can include breaking changes for the 2.x series of releases, such as removing the multiple_trajectories
kwarg.
Ah gotcha! Thanks for the quick reply, Jacob :) got it working now!
When the training data input to
ps.SINDy()
is a Sequence of multiple trajectories as outlined in the documentation a ValueError is raised. The error can be reproduced by running the example found in 1_feature_overview/example.ipynb. Specifically the following code can reproduce the error:Reproducing code example:
Error message:
ValueError: x is a Sequence, but multiple_trajectories not set. Did you mean to set multiple trajectories?
PySINDy/Python version information:
1.7.5 3.9.6 (default, Oct 18 2022, 12:41:40) [Clang 14.0.0 (clang-1400.0.29.202)]