Custom handlers
The cesnet_tszoo package supports adding custom way of handling data. It is possible to create custom handler for per time series, custom handler for all time series by subclassing from custom handlers. They also support applying only to specified sets.
Related config parameters in TimeBasedConfig, DisjointTimeBasedConfig and SeriesBasedConfig:
preprocess_order: Mainly used for changing order of preprocesses. Is also used as a way of adding custom handlers by adding type their type between the preprocesses.
Creating custom handlers
You can create custom handler by subclassing from one of the below classes:
PerSeriesCustomHandler- Instance is created for every time series separately
- Fits on their respective time series train set part
AllSeriesCustomHandler- Only one instance is created for all used time series
- Fits on train set
NoFitCustomHandler- Instance is created for every time series separately
- Does not fit
PerSeriesCustomHandler
PerSeriesCustomHandler is only supported for Time-based, because of its nature.