Skip to content

Glossary: ML Beyond the Basics

Expanding-window folds

Also written: month_folds, expanding window, TimeSeriesSplit

Time-based cross-validation folds that train on all earlier periods and validate on the next one, then move forward. `month_folds` does this on whole months, whereas scikit-learn's `TimeSeriesSplit` can cut a month in half.

Where the book teaches it

Related terms

Time-based splitNested validation