I attempted to fix until the ensemble part (working in progress)#658
I attempted to fix until the ensemble part (working in progress)#658mickpires wants to merge 2 commits intodynamicslab:masterfrom
Conversation
I'm having a problem which says that ensemble boolean doesn't exist anymore in fit method. I don't know how to do ensemble using the current pysindy version
|
Thanks for this! First and foremost, thank you for your attention to this project and sharing where the documentation doesn't line up with expectation. We need a better translation, writ large, from the youtube videos to documentation. Part of the problem with this notebook IIRC is that it took several minutes to run in CI. This means that as we change and evolve the package, there's no automatic notification that this notebook needs to change. You might look in Long term, I had thought to break up this notebook into its constituent elements, since they address different problems. Some are more about the basics of a tutorial, but others are more involved How-To guides (see divio's documentation theory for the difference). But I'm definitely open to input, e.g breaking this notebook up but keeping the parts in a folder. |
Jacob-Stevens-Haas
left a comment
There was a problem hiding this comment.
This line: ps.SR3(threshold=0.5) changes to ps.SR3(reg_weight_lam=0.5). The paper that introduced SR3 included a conversion from threshold to regularization weight when using the L0 penalty. However, the conversion was incorrect for other penalties, so we removed it to a separate helper function in the sr3.py module. The default regularizer is L0, so you should add the line
reg_weight_lambda= SR3.calculate_l0_weight(threshold, nu) in order to convert from the threshold to the argument value.
|
As a heads up, we're changing the default branch from |
I'm having a problem which says that ensemble boolean doesn't exist anymore in fit method. I don't know how to do ensemble using the current pysindy version.