Skip to content

Issue following tutorial from video #655

@mickpires

Description

@mickpires

I'm following the youtube tutorial of syndy and I believe you need to update the tutorial code ( https://github.com/dynamicslab/pysindy/blob/master/examples/15_pysindy_lectures.ipynb ) because it seems feature_names isn't a parameter of SINDy class anymore. At least I had an error


TypeError Traceback (most recent call last)
Cell In[10], line 3
1 feature_names = ['x','y', 'z']
2 opt = ps.STLSQ(threshold=0)
----> 3 model = ps.SINDy(feature_names = feature_names, optimizer=opt)
4 model.fit(x_train, t = dt)
5 model.print()

TypeError: SINDy.init() got an unexpected keyword argument 'feature_names'

Well, I know it's a silly thing to report, but I believe it will make the tutorial better to follow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions