Skip to content

Rework cross_validation_time.py#791

Merged
ArturoAmorQ merged 4 commits intoINRIA:mainfrom
SpiderCoop:time-series-crossvalidation
Mar 10, 2025
Merged

Rework cross_validation_time.py#791
ArturoAmorQ merged 4 commits intoINRIA:mainfrom
SpiderCoop:time-series-crossvalidation

Conversation

@SpiderCoop
Copy link
Contributor

@SpiderCoop SpiderCoop commented Dec 20, 2024

Fixes #786. This PR:

  • Complements on the description;
  • Corrects the render of the plots by ordering the index;
  • Corrects a warning being raised by using groups with TimeSeriesSplit;
  • Introduces a clearer explanation on why the cross-validation with shuffle is not adequate for time series.

graphs and warnings on the code.
More clear explanation on why the crossvalidation
with shuffle is no adequate for time series.

Correction on the graph by ordering the index

Correction to avoid a warning in
@ArturoAmorQ ArturoAmorQ changed the title Complements on the description, corrections on Rework cross_validation_time.py Mar 7, 2025
Copy link
Collaborator

@ArturoAmorQ ArturoAmorQ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution @SpiderCoop and sorry for taking so long to review! This is already a big improvement for this notebook. I hope you don't mind me pushing some changes to your PR.

@ArturoAmorQ ArturoAmorQ merged commit cca9ecb into INRIA:main Mar 10, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rework Non i.i.d. data notebook

2 participants