Skip to content

Instantly share code, notes, and snippets.

@StevenReitsma
Created February 23, 2018 11:51
Show Gist options
  • Save StevenReitsma/72969de0a8d5fd698a0427f3f6cd1145 to your computer and use it in GitHub Desktop.
Save StevenReitsma/72969de0a8d5fd698a0427f3f6cd1145 to your computer and use it in GitHub Desktop.
Blogpost-Heineken7
from bdranalytics.model_selection.growingwindow import IntervalGrowingWindow
igw = IntervalGrowingWindow(test_start_date='2011-03-01', timestamps='index', test_size='7 days')
cv = igw.split(df_features.set_index('date'))
multiple_ts_split = list(cv)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment