tslearn-team / tslearn

The machine learning toolkit for time series analysis in Python
https://tslearn.readthedocs.io
BSD 2-Clause "Simplified" License
2.83k stars 331 forks source link

Fix error in LearningShapelets when the input parameter n_shapelets_per_size equals None #498

Closed YannCabanes closed 6 months ago

YannCabanes commented 6 months ago

Fix error in LearningShapelets when the input parameter n_shapelets_per_size equals None.

The error related to this PR is detailed in the issue https://github.com/tslearn-team/tslearn/issues/495.

codecov-commenter commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (219f20d) 93.64% compared to head (179d387) 93.33%.

:exclamation: Current head 179d387 differs from pull request most recent head 0a511b0. Consider uploading reports for the commit 0a511b0 to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #498 +/- ## ========================================== - Coverage 93.64% 93.33% -0.31% ========================================== Files 67 67 Lines 5728 5734 +6 ========================================== - Hits 5364 5352 -12 - Misses 364 382 +18 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.