Replies: 1 comment 1 reply
-
@bdeck8317, can you explain what you mean by walk-forward validation? In time series classification, you have a single label per entire time series, so what exactly would you train the classifier on? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a panel dataset with multiple subjects with varying rows (time points). This is a binary classification task. I want to employ a nested cross-validation approach using a walk-forward validation (expanding window). I looked through the documentation on the ExpandingWindowSplitter and TSCGridSearchCV, yet it wasn't obvious to me how I should format my data. Should I create a multi-index data frame with my subject identifier and time stamp as the indices? Do these indices need to be present in my feature and label data frames? If I have subjects with varying time-sequences, how would I set up the ExpandingWindowSplitter for cross-validation? If I use ExpandingWindowSplitter, can I use that as my CV arg in TSCGridSearchCV?
Cheers!
Beta Was this translation helpful? Give feedback.
All reactions