You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working with the generate_rolling_dataset function in order to cross-validate my results. Given the documentation I would have expected NumSplitsStrategy to yield "chunks of equal size" given my parameters. However, the function returns chunks of different size and works very similar to StepStrategy.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi everyone,
I am working with the
generate_rolling_dataset
function in order to cross-validate my results. Given the documentation I would have expectedNumSplitsStrategy
to yield "chunks of equal size" given my parameters. However, the function returns chunks of different size and works very similar toStepStrategy
.Here is some reproducible code:
I would have expected the output chunks to be of equal size as indicated in the documentation.
Maybe I am missing something but this seems unintuitive. I would have expected this to implement a rolling cross validation with a fixed window.
This article summarizes the idea under "Blocked Cross-Validation":
Beta Was this translation helpful? Give feedback.
All reactions