commonpower.data_forecasting.nn_forecasting.data_splitting

Dataset splitting for neural network forecasting.

Classes

DataSplitType

An enumeration.

DatasetSplit

DataSplits are used to split the dataset into training, validation, and test sets.

DatePeriodFractionalSplit

This Splitter first divides the dataset into periods of length period_length in order of the data source.

SimpleFractionalSplit

The SimpleFractionalSplit splits the dataset into training, validation, and test sets based on fractions.