etna.auto.Pool#
- class Pool(value)[source]#
Bases:
EnumPredefined pools of pipelines.
Pools are divided into types by frequency (
D(daily),H(hourly),MS(monthly),W(weekly),no_freq) and duration (super_fast,fast,mediumandheavy).Division by frequency:
The
Dgroup of pools should be chosen in a case of “D” frequency.The
Hgroup of pools should be chosen in a case of “h” frequency.The
MSgroup of pools should be chosen in a case of “ME” and “MS” frequencies.The
Wgroup of pools should be chosen in a case of following frequencies: “W”, “W-MON”, “W-SUN”, …, etc.The
no_freqgroup of pools should be chosen in a case of other frequencies, frequencies with the gap between timestamps more than 1 (T, Q, 2D, 4H, …, etc) and series without datetime timestamps.
Frequency in your data is defined by value of
freqparameter passed toTSDatasetconstructor orTSDataset.create_from_misalignedmethod.Division by duration:
Each subsequent pool is a subset of the next one:
fastpool contains all configs fromsuper_fastplus some other,mediumcontains all configs fromfastplus some other andheavycontains all configs frommediumplus some other.To get final pool choose one frequency and duration, for example
D_super_fast.Pools can contain
timestamp_column,chronos_deviceandtimesfm_deviceparameters that can be filled by user. Default values areNone,autoandgpurespectively.Parameter
timestamp_columncan be used starting fromfastpools.Parameter
chronos_devicecan be used starting fromsuper_fastpools.Parameter
timesfm_devicecan be used starting fromfastpools.
Note
This class requires
autoextension to be installed. Read more about this at installation page.Attributes
no_freq_super_fastno_freq_fastno_freq_mediumno_freq_heavyD_super_fastD_fastD_mediumD_heavyH_super_fastH_fastH_mediumH_heavyMS_super_fastMS_fastMS_mediumMS_heavyW_super_fastW_fastW_mediumW_heavy