-
Notifications
You must be signed in to change notification settings - Fork 900
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update ruff to v6.8 and many typos #2548
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @gdevos010 for this PR, looks good overall.
Can you please revert the changes to the images in the notebooks? Also, found some changes in the code that might cause some issues.
Also, we need to make sur follow the migrations instruction from 0.3.6 to 0.6.8 to avoid issues.
@@ -458,12 +458,12 @@ def ensemble( | |||
ensembled = [ | |||
self.regression_model.predict( | |||
n=len(prediction), | |||
series=serie, | |||
series=series, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please revert this one, having both the element and iterable called series
does not look good.
serie = pd.Series(data=values, index=time_range_MS) | ||
ts = TimeSeries.from_series(pd_series=serie) | ||
series = pd.Series(data=values, index=time_range_MS) | ||
ts = TimeSeries.from_series(pd_series=series) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's revert this one as well.
@@ -116,9 +116,9 @@ def get_feature_times_target( | |||
Helper function called by `get_feature_times` that extracts all times within a | |||
`target_series` that can be used to create a feature and label. More specifically, | |||
we can create features and labels for times within `target_series` that have *both*: | |||
1. At least `max_lag = -min(lags)` values preceeding them, since these preceeding | |||
1. At least `max_lag = -min(lags)` values presceeding them, since these preceeding |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1. At least `max_lag = -min(lags)` values presceeding them, since these preceeding | |
1. At least `max_lag = -min(lags)` values preceding them, since these preceding |
examples/02-data-processing.ipynb
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please revert the changes to the images
examples/03-FFT-examples.ipynb
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please revert the changes to the images
examples/11-GP-filter-examples.ipynb
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revert changes to images
Replaced by #2589. |
Checklist before merging this PR:
Fixes #2547.
Summary
update to ruff v6.8
fixed many typos
Other Information