Skip to content

Enums

cesnet_tszoo.utils.enums

AgreggationType

Bases: Enum

Possible aggregations for database.

Source code in cesnet_tszoo\utils\enums.py
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
class AgreggationType(Enum):
    """Possible aggregations for database. """

    AGG_1_DAY = "1_day"
    """1 day aggregation for source type. """

    AGG_1_HOUR = "1_hour"
    """1 hour aggregation for source type. """

    AGG_15_MINUTES = "15_minutes"
    """15 minutes aggregation for source type. """

    AGG_10_MINUTES = "10_minutes"
    """10 minutes aggregation for source type. """

    AGG_5_MINUTES = "5_minutes"
    """5 minutes aggregation for source type. """

    AGG_1_MINUTE = "1_minute"
    """1 minute aggregation for source type. """

    @staticmethod
    def _to_str_with_agg(aggregation_type):
        """For paths. """

        return f"agg_{aggregation_type.value}"

    @staticmethod
    def _to_str_without_number(aggregation_type) -> str:
        """For paths. """

        if aggregation_type in [AgreggationType.AGG_10_MINUTES, AgreggationType.AGG_5_MINUTES, AgreggationType.AGG_15_MINUTES]:
            return "minutes"
        elif aggregation_type == AgreggationType.AGG_1_HOUR:
            return "hour"
        elif aggregation_type == AgreggationType.AGG_1_DAY:
            return "day"
        elif aggregation_type == AgreggationType.AGG_1_MINUTE:
            return "minute"
        else:
            raise NotImplementedError()

AGG_1_DAY class-attribute instance-attribute

AGG_1_DAY = '1_day'

1 day aggregation for source type.

AGG_1_HOUR class-attribute instance-attribute

AGG_1_HOUR = '1_hour'

1 hour aggregation for source type.

AGG_15_MINUTES class-attribute instance-attribute

AGG_15_MINUTES = '15_minutes'

15 minutes aggregation for source type.

AGG_10_MINUTES class-attribute instance-attribute

AGG_10_MINUTES = '10_minutes'

10 minutes aggregation for source type.

AGG_5_MINUTES class-attribute instance-attribute

AGG_5_MINUTES = '5_minutes'

5 minutes aggregation for source type.

AGG_1_MINUTE class-attribute instance-attribute

AGG_1_MINUTE = '1_minute'

1 minute aggregation for source type.

SourceType

Bases: Enum

Possible source types for database.

Source code in cesnet_tszoo\utils\enums.py
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
class SourceType(Enum):
    """Possible source types for database. """

    IP_ADDRESSES_FULL = "ip_addresses_full"
    """Traffic of ip addresses of specific devices. """

    IP_ADDRESSES_SAMPLE = "ip_addresses_sample"
    """Traffic of subset from `ip_addresses_full`. """

    IP_ADDRESSES_SAMPLE_GAPS_20_00 = "ip_addresses_sample_gaps_20_00"
    """CESNET-TimeSeries26: sample of `ip_addresses_full` stratified by the gap ratio of the 10-minute windows (band [0.00, 0.20]). """

    IP_ADDRESSES_SAMPLE_GAPS_40_20 = "ip_addresses_sample_gaps_40_20"
    """CESNET-TimeSeries26: sample of `ip_addresses_full` stratified by the gap ratio of the 10-minute windows (band (0.20, 0.40]). """

    IP_ADDRESSES_SAMPLE_GAPS_60_40 = "ip_addresses_sample_gaps_60_40"
    """CESNET-TimeSeries26: sample of `ip_addresses_full` stratified by the gap ratio of the 10-minute windows (band (0.40, 0.60]). """

    IP_ADDRESSES_SAMPLE_GAPS_80_60 = "ip_addresses_sample_gaps_80_60"
    """CESNET-TimeSeries26: sample of `ip_addresses_full` stratified by the gap ratio of the 10-minute windows (band (0.60, 0.80]). """

    IP_ADDRESSES_SAMPLE_GAPS_100_80 = "ip_addresses_sample_gaps_100_80"
    """CESNET-TimeSeries26: sample of `ip_addresses_full` stratified by the gap ratio of the 10-minute windows (band (0.80, 1.00]). """

    SUBNET_LONGITUDINAL = "subnet_longitudinal"
    """CESNET-TimeSeries26: IP addresses of one institution subnet monitored 2021-12-31 - 2026-07-09 (own time grid, TCP-only volumetrics, reduced metric set). """

    INSTITUTION_SUBNETS = "institution_subnets"
    """Traffic of subnets in institutions`. """

    INSTITUTIONS = "institutions"
    """Traffic Institutions of CESNET3 network. """

    NETWORK_OPERATOR = "network_operator"
    """Data from the operator of the network. """

    MININET_SIMULATOR = "mininet_simulator"
    """Created via Mininet simulator. """

    BACKBONE_NETWORK = "backbone_network"
    """Traffic from backbone network. """

    SERVICE_PROVIDER = "service_provider"
    """Data from the service provider. """

    CESNET2 = "CESNET2"
    """Traffic of CESNET2 network. """

IP_ADDRESSES_FULL class-attribute instance-attribute

IP_ADDRESSES_FULL = 'ip_addresses_full'

Traffic of ip addresses of specific devices.

IP_ADDRESSES_SAMPLE class-attribute instance-attribute

IP_ADDRESSES_SAMPLE = 'ip_addresses_sample'

Traffic of subset from ip_addresses_full.

IP_ADDRESSES_SAMPLE_GAPS_20_00 class-attribute instance-attribute

IP_ADDRESSES_SAMPLE_GAPS_20_00 = 'ip_addresses_sample_gaps_20_00'

CESNET-TimeSeries26: sample of ip_addresses_full stratified by the gap ratio of the 10-minute windows (band [0.00, 0.20]).

IP_ADDRESSES_SAMPLE_GAPS_40_20 class-attribute instance-attribute

IP_ADDRESSES_SAMPLE_GAPS_40_20 = 'ip_addresses_sample_gaps_40_20'

CESNET-TimeSeries26: sample of ip_addresses_full stratified by the gap ratio of the 10-minute windows (band (0.20, 0.40]).

IP_ADDRESSES_SAMPLE_GAPS_60_40 class-attribute instance-attribute

IP_ADDRESSES_SAMPLE_GAPS_60_40 = 'ip_addresses_sample_gaps_60_40'

CESNET-TimeSeries26: sample of ip_addresses_full stratified by the gap ratio of the 10-minute windows (band (0.40, 0.60]).

IP_ADDRESSES_SAMPLE_GAPS_80_60 class-attribute instance-attribute

IP_ADDRESSES_SAMPLE_GAPS_80_60 = 'ip_addresses_sample_gaps_80_60'

CESNET-TimeSeries26: sample of ip_addresses_full stratified by the gap ratio of the 10-minute windows (band (0.60, 0.80]).

IP_ADDRESSES_SAMPLE_GAPS_100_80 class-attribute instance-attribute

IP_ADDRESSES_SAMPLE_GAPS_100_80 = 'ip_addresses_sample_gaps_100_80'

CESNET-TimeSeries26: sample of ip_addresses_full stratified by the gap ratio of the 10-minute windows (band (0.80, 1.00]).

SUBNET_LONGITUDINAL class-attribute instance-attribute

SUBNET_LONGITUDINAL = 'subnet_longitudinal'

CESNET-TimeSeries26: IP addresses of one institution subnet monitored 2021-12-31 - 2026-07-09 (own time grid, TCP-only volumetrics, reduced metric set).

INSTITUTION_SUBNETS class-attribute instance-attribute

INSTITUTION_SUBNETS = 'institution_subnets'

Traffic of subnets in institutions`.

INSTITUTIONS class-attribute instance-attribute

INSTITUTIONS = 'institutions'

Traffic Institutions of CESNET3 network.

NETWORK_OPERATOR class-attribute instance-attribute

NETWORK_OPERATOR = 'network_operator'

Data from the operator of the network.

MININET_SIMULATOR class-attribute instance-attribute

MININET_SIMULATOR = 'mininet_simulator'

Created via Mininet simulator.

BACKBONE_NETWORK class-attribute instance-attribute

BACKBONE_NETWORK = 'backbone_network'

Traffic from backbone network.

SERVICE_PROVIDER class-attribute instance-attribute

SERVICE_PROVIDER = 'service_provider'

Data from the service provider.

CESNET2 class-attribute instance-attribute

CESNET2 = 'CESNET2'

Traffic of CESNET2 network.

FillerType

Bases: Enum

Built-in filler types.

Source code in cesnet_tszoo\utils\enums.py
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
class FillerType(Enum):
    """Built-in filler types. """

    MEAN_FILLER = "mean_filler"
    """Represents filler [`MeanFiller`](reference_fillers.md#cesnet_tszoo.utils.filler.filler.MeanFiller). Equivalent to literal `mean_filler`. """

    FORWARD_FILLER = "forward_filler"
    """Represents filler [`ForwardFiller`](reference_fillers.md#cesnet_tszoo.utils.filler.filler.ForwardFiller). Equivalent to literal `forward_filler`. """

    LINEAR_INTERPOLATION_FILLER = "linear_interpolation_filler"
    """Represents filler [`LinearInterpolationFiller`](reference_fillers.md#cesnet_tszoo.utils.filler.filler.LinearInterpolationFiller). Equivalent to literal `linear_interpolation_filler`. """

    NO_FILLER = "no_filler"
    """Represents filler [`NoFiller`](reference_fillers.md#cesnet_tszoo.utils.filler.filler.LinearInterpolationFiller). Equivalent to literal `no_filler`. """

MEAN_FILLER class-attribute instance-attribute

MEAN_FILLER = 'mean_filler'

Represents filler MeanFiller. Equivalent to literal mean_filler.

FORWARD_FILLER class-attribute instance-attribute

FORWARD_FILLER = 'forward_filler'

Represents filler ForwardFiller. Equivalent to literal forward_filler.

LINEAR_INTERPOLATION_FILLER class-attribute instance-attribute

LINEAR_INTERPOLATION_FILLER = 'linear_interpolation_filler'

Represents filler LinearInterpolationFiller. Equivalent to literal linear_interpolation_filler.

NO_FILLER class-attribute instance-attribute

NO_FILLER = 'no_filler'

Represents filler NoFiller. Equivalent to literal no_filler.

TransformerType

Bases: Enum

Built-in transformer types.

Source code in cesnet_tszoo\utils\enums.py
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
class TransformerType(Enum):
    """Built-in transformer types. """

    MIN_MAX_SCALER = "min_max_scaler"
    """Represents transformer [`MinMaxScaler`](reference_transformers.md#cesnet_tszoo.utils.transformer.transformer.MinMaxScaler). Equivalent to literal `min_max_scaler`. """

    STANDARD_SCALER = "standard_scaler"
    """Represents transformer [`StandardScaler`](reference_transformers.md#cesnet_tszoo.utils.transformer.transformer.StandardScaler). Equivalent to literal `standard_scaler`. """

    MAX_ABS_SCALER = "max_abs_scaler"
    """Represents transformer [`MaxAbsScaler`](reference_transformers.md#cesnet_tszoo.utils.transformer.transformer.MaxAbsScaler). Equivalent to literal `max_abs_scaler`. """

    LOG_TRANSFORMER = "log_transformer"
    """Represents transformer [`LogTransformer`](reference_transformers.md#cesnet_tszoo.utils.transformer.transformer.LogTransformer). Equivalent to literal `log_transformer`. """

    L2_NORMALIZER = "l2_normalizer"
    """Represents transformer [`L2Normalizer`](reference_transformers.md#cesnet_tszoo.utils.transformer.transformer.L2Normalizer). Equivalent to literal `l2_normalizer`. """

    ROBUST_SCALER = "robust_scaler"
    """Represents transformer [`RobustScaler`](reference_transformers.md#cesnet_tszoo.utils.transformer.transformer.LogTransformer). Equivalent to literal `robust_scaler`. """

    POWER_TRANSFORMER = "power_transformer"
    """Represents transformer [`PowerTransformer`](reference_transformers.md#cesnet_tszoo.utils.transformer.transformer.PowerTransformer). Equivalent to literal `power_transformer`. """

    QUANTILE_TRANSFORMER = "quantile_transformer"
    """Represents transformer [`QuantileTransformer`](reference_transformers.md#cesnet_tszoo.utils.transformer.transformer.QuantileTransformer). Equivalent to literal `quantile_transformer`. """

    NO_TRANSFORMER = "no_transformer"
    """Represents transformer [`NoTransformer`](reference_transformers.md#cesnet_tszoo.utils.transformer.transformer.NoTransformer). Equivalent to literal `no_transformer`. """

MIN_MAX_SCALER class-attribute instance-attribute

MIN_MAX_SCALER = 'min_max_scaler'

Represents transformer MinMaxScaler. Equivalent to literal min_max_scaler.

STANDARD_SCALER class-attribute instance-attribute

STANDARD_SCALER = 'standard_scaler'

Represents transformer StandardScaler. Equivalent to literal standard_scaler.

MAX_ABS_SCALER class-attribute instance-attribute

MAX_ABS_SCALER = 'max_abs_scaler'

Represents transformer MaxAbsScaler. Equivalent to literal max_abs_scaler.

LOG_TRANSFORMER class-attribute instance-attribute

LOG_TRANSFORMER = 'log_transformer'

Represents transformer LogTransformer. Equivalent to literal log_transformer.

L2_NORMALIZER class-attribute instance-attribute

L2_NORMALIZER = 'l2_normalizer'

Represents transformer L2Normalizer. Equivalent to literal l2_normalizer.

ROBUST_SCALER class-attribute instance-attribute

ROBUST_SCALER = 'robust_scaler'

Represents transformer RobustScaler. Equivalent to literal robust_scaler.

POWER_TRANSFORMER class-attribute instance-attribute

POWER_TRANSFORMER = 'power_transformer'

Represents transformer PowerTransformer. Equivalent to literal power_transformer.

QUANTILE_TRANSFORMER class-attribute instance-attribute

QUANTILE_TRANSFORMER = 'quantile_transformer'

Represents transformer QuantileTransformer. Equivalent to literal quantile_transformer.

NO_TRANSFORMER class-attribute instance-attribute

NO_TRANSFORMER = 'no_transformer'

Represents transformer NoTransformer. Equivalent to literal no_transformer.

AnomalyHandlerType

Bases: Enum

Built-in anomaly handler types.

Source code in cesnet_tszoo\utils\enums.py
143
144
145
146
147
148
149
150
151
152
153
class AnomalyHandlerType(Enum):
    """Built-in anomaly handler types. """

    Z_SCORE = "z-score"
    """Represents anomaly handler [`ZScore`](reference_anomaly_handlers.md#cesnet_tszoo.utils.anomaly_handler.anomaly_handler.ZScore). Equivalent to literal `z-score`. """

    INTERQUARTILE_RANGE = "interquartile_range"
    """Represents anomaly handler [`InterquartileRange`](reference_anomaly_handlers.md#cesnet_tszoo.utils.anomaly_handler.anomaly_handler.InterquartileRange). Equivalent to literal `interquartile_range`. """

    NO_ANOMALY_HANDLER = "no_anomaly_handler"
    """Represents anomaly handler [`NoAnomalyHandler`](reference_anomaly_handlers.md#cesnet_tszoo.utils.anomaly_handler.anomaly_handler.NoAnomalyHandler). Equivalent to literal `no_anomaly_handler`. """

Z_SCORE class-attribute instance-attribute

Z_SCORE = 'z-score'

Represents anomaly handler ZScore. Equivalent to literal z-score.

INTERQUARTILE_RANGE class-attribute instance-attribute

INTERQUARTILE_RANGE = 'interquartile_range'

Represents anomaly handler InterquartileRange. Equivalent to literal interquartile_range.

NO_ANOMALY_HANDLER class-attribute instance-attribute

NO_ANOMALY_HANDLER = 'no_anomaly_handler'

Represents anomaly handler NoAnomalyHandler. Equivalent to literal no_anomaly_handler.

TimeFormat

Bases: Enum

Different supported time formats.

Source code in cesnet_tszoo\utils\enums.py
156
157
158
159
160
161
162
163
164
165
166
167
168
169
class TimeFormat(Enum):
    """Different supported time formats. """

    ID_TIME = "id_time"
    """Time as indices, starting from 0. """

    DATETIME = "datetime"
    """Time as [`datetime`](https://docs.python.org/3/library/datetime.html) object. """

    UNIX_TIME = "unix_time"
    """Time in unix time format. """

    SHIFTED_UNIX_TIME = "shifted_unix_time"
    """Unix time format but offsetted so it starts from 0. """

ID_TIME class-attribute instance-attribute

ID_TIME = 'id_time'

Time as indices, starting from 0.

DATETIME class-attribute instance-attribute

DATETIME = 'datetime'

Time as datetime object.

UNIX_TIME class-attribute instance-attribute

UNIX_TIME = 'unix_time'

Time in unix time format.

SHIFTED_UNIX_TIME class-attribute instance-attribute

SHIFTED_UNIX_TIME = 'shifted_unix_time'

Unix time format but offsetted so it starts from 0.

SplitType

Bases: Enum

Different split variants.

Source code in cesnet_tszoo\utils\enums.py
172
173
174
175
176
177
178
179
180
181
182
183
184
185
class SplitType(Enum):
    """Different split variants. """

    TRAIN = "train"
    """Represents training set of dataset. """

    VAL = "val"
    """Represents validation set of dataset. """

    TEST = "test"
    """Represents test set of dataset. """

    ALL = "all"
    """Represents train/val/test sets as one or just everything. """

TRAIN class-attribute instance-attribute

TRAIN = 'train'

Represents training set of dataset.

VAL class-attribute instance-attribute

VAL = 'val'

Represents validation set of dataset.

TEST class-attribute instance-attribute

TEST = 'test'

Represents test set of dataset.

ALL class-attribute instance-attribute

ALL = 'all'

Represents train/val/test sets as one or just everything.

AnnotationType

Bases: Enum

Categories of Annotations.

Source code in cesnet_tszoo\utils\enums.py
188
189
190
191
192
193
194
195
196
197
198
class AnnotationType(Enum):
    """Categories of Annotations. """

    ID_TIME = "id_time"
    """Represents annotations for time. """

    TS_ID = "ts_id"
    """Represents annotations for time series. """

    BOTH = "both"
    """Represents annotations for time in time series. """

ID_TIME class-attribute instance-attribute

ID_TIME = 'id_time'

Represents annotations for time.

TS_ID class-attribute instance-attribute

TS_ID = 'ts_id'

Represents annotations for time series.

BOTH class-attribute instance-attribute

BOTH = 'both'

Represents annotations for time in time series.

DataloaderOrder

Bases: Enum

Order for loading data with PyTorch DataLoader.

Source code in cesnet_tszoo\utils\enums.py
206
207
208
209
210
211
212
213
class DataloaderOrder(Enum):
    """Order for loading data with PyTorch [`DataLoader`](https://pytorch.org/docs/stable/data.html#torch.utils.data.DataLoader). """

    RANDOM = "random"
    """Loaded data will be randomly selected. """

    SEQUENTIAL = "sequential"
    """Loaded data will be in the selected order. """

RANDOM class-attribute instance-attribute

RANDOM = 'random'

Loaded data will be randomly selected.

SEQUENTIAL class-attribute instance-attribute

SEQUENTIAL = 'sequential'

Loaded data will be in the selected order.

DatasetType

Bases: Enum

Types of datasets.

Source code in cesnet_tszoo\utils\enums.py
216
217
218
219
220
221
222
223
224
225
226
class DatasetType(Enum):
    """Types of datasets. """

    TIME_BASED = "time_based"
    """This type of dataset is defined by train/val/test time periods and one time series set. """

    SERIES_BASED = "series_based"
    """This type of dataset is defined by train/val/test time series sets and one time period set. """

    DISJOINT_TIME_BASED = "disjoint_time_based"
    """This type of dataset is defined by train/val/test time series sets and their respective time period sets. """

TIME_BASED class-attribute instance-attribute

TIME_BASED = 'time_based'

This type of dataset is defined by train/val/test time periods and one time series set.

SERIES_BASED class-attribute instance-attribute

SERIES_BASED = 'series_based'

This type of dataset is defined by train/val/test time series sets and one time period set.

DISJOINT_TIME_BASED class-attribute instance-attribute

DISJOINT_TIME_BASED = 'disjoint_time_based'

This type of dataset is defined by train/val/test time series sets and their respective time period sets.

PreprocessType

Bases: Enum

Helper enum to decide which preprocess it is.

Source code in cesnet_tszoo\utils\enums.py
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
class PreprocessType(Enum):
    """Helper enum to decide which preprocess it is. """

    FILLING_GAPS = "filling_gaps"
    """Represents default_values and Filler preprocess. """

    TRANSFORMING = "transforming"
    """Represents Transformer preprocess. """

    HANDLING_ANOMALIES = "handling_anomalies"
    """Represents AnomalyHandler preprocess. """

    PER_SERIES_CUSTOM = "per_series_custom"
    """Represents PerSeriesCustomHandler preprocess """

    ALL_SERIES_CUSTOM = "all_series_custom"
    """Represents AllSeriesCustomHandler preprocess """

    NO_FIT_CUSTOM = "no_fit_custom"
    """Represents NoFitCustomHandler preprocess """

FILLING_GAPS class-attribute instance-attribute

FILLING_GAPS = 'filling_gaps'

Represents default_values and Filler preprocess.

TRANSFORMING class-attribute instance-attribute

TRANSFORMING = 'transforming'

Represents Transformer preprocess.

HANDLING_ANOMALIES class-attribute instance-attribute

HANDLING_ANOMALIES = 'handling_anomalies'

Represents AnomalyHandler preprocess.

PER_SERIES_CUSTOM class-attribute instance-attribute

PER_SERIES_CUSTOM = 'per_series_custom'

Represents PerSeriesCustomHandler preprocess

ALL_SERIES_CUSTOM class-attribute instance-attribute

ALL_SERIES_CUSTOM = 'all_series_custom'

Represents AllSeriesCustomHandler preprocess

NO_FIT_CUSTOM class-attribute instance-attribute

NO_FIT_CUSTOM = 'no_fit_custom'

Represents NoFitCustomHandler preprocess

ScalerType

Bases: Enum

Obsolete, dont use. Only for backward compatibility.

Source code in cesnet_tszoo\utils\enums.py
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
class ScalerType(Enum):
    """Obsolete, dont use. Only for backward compatibility. """

    MIN_MAX_SCALER = "min_max_scaler"
    """Represents transformer [`MinMaxScaler`](reference_transformers.md#cesnet_tszoo.utils.transformer.transformer.MinMaxScaler). Equivalent to literal `min_max_scaler`. """

    STANDARD_SCALER = "standard_scaler"
    """Represents transformer [`StandardScaler`](reference_transformers.md#cesnet_tszoo.utils.transformer.transformer.StandardScaler). Equivalent to literal `standard_scaler`. """

    MAX_ABS_SCALER = "max_abs_scaler"
    """Represents transformer [`MaxAbsScaler`](reference_transformers.md#cesnet_tszoo.utils.transformer.transformer.MaxAbsScaler). Equivalent to literal `max_abs_scaler`. """

    LOG_TRANSFORMER = "log_transformer"
    """Represents transformer [`LogTransformer`](reference_transformers.md#cesnet_tszoo.utils.transformer.transformer.LogTransformer). Equivalent to literal `log_transformer`. """

    L2_NORMALIZER = "l2_normalizer"
    """Represents transformer [`L2Normalizer`](reference_transformers.md#cesnet_tszoo.utils.transformer.transformer.L2Normalizer). Equivalent to literal `l2_normalizer`. """

    ROBUST_SCALER = "robust_scaler"
    """Represents transformer [`RobustScaler`](reference_transformers.md#cesnet_tszoo.utils.transformer.transformer.LogTransformer). Equivalent to literal `robust_scaler`. """

    POWER_TRANSFORMER = "power_transformer"
    """Represents transformer [`PowerTransformer`](reference_transformers.md#cesnet_tszoo.utils.transformer.transformer.PowerTransformer). Equivalent to literal `power_transformer`. """

    QUANTILE_TRANSFORMER = "quantile_transformer"
    """Represents transformer [`QuantileTransformer`](reference_transformers.md#cesnet_tszoo.utils.transformer.transformer.QuantileTransformer). Equivalent to literal `quantile_transformer`. """

MIN_MAX_SCALER class-attribute instance-attribute

MIN_MAX_SCALER = 'min_max_scaler'

Represents transformer MinMaxScaler. Equivalent to literal min_max_scaler.

STANDARD_SCALER class-attribute instance-attribute

STANDARD_SCALER = 'standard_scaler'

Represents transformer StandardScaler. Equivalent to literal standard_scaler.

MAX_ABS_SCALER class-attribute instance-attribute

MAX_ABS_SCALER = 'max_abs_scaler'

Represents transformer MaxAbsScaler. Equivalent to literal max_abs_scaler.

LOG_TRANSFORMER class-attribute instance-attribute

LOG_TRANSFORMER = 'log_transformer'

Represents transformer LogTransformer. Equivalent to literal log_transformer.

L2_NORMALIZER class-attribute instance-attribute

L2_NORMALIZER = 'l2_normalizer'

Represents transformer L2Normalizer. Equivalent to literal l2_normalizer.

ROBUST_SCALER class-attribute instance-attribute

ROBUST_SCALER = 'robust_scaler'

Represents transformer RobustScaler. Equivalent to literal robust_scaler.

POWER_TRANSFORMER class-attribute instance-attribute

POWER_TRANSFORMER = 'power_transformer'

Represents transformer PowerTransformer. Equivalent to literal power_transformer.

QUANTILE_TRANSFORMER class-attribute instance-attribute

QUANTILE_TRANSFORMER = 'quantile_transformer'

Represents transformer QuantileTransformer. Equivalent to literal quantile_transformer.

DownloadSource

Bases: Enum

Where the dataset files are downloaded from (download_source of get_dataset).

Source code in cesnet_tszoo\utils\enums.py
279
280
281
282
283
284
285
286
287
288
289
290
291
292
class DownloadSource(Enum):
    """Where the dataset files are downloaded from (`download_source` of `get_dataset`)."""

    AUTO = "auto"
    """Try every configured source in the default order (DataZoo bucket and mirrors), moving on when one fails."""

    DATAZOO = "datazoo"
    """CESNET DataZoo bucket only."""

    GOOGLE_DRIVE = "google_drive"
    """Google Drive mirrors only (primary and backup folder)."""

    ZENODO = "zenodo"
    """Zenodo records only."""

AUTO class-attribute instance-attribute

AUTO = 'auto'

Try every configured source in the default order (DataZoo bucket and mirrors), moving on when one fails.

DATAZOO class-attribute instance-attribute

DATAZOO = 'datazoo'

CESNET DataZoo bucket only.

GOOGLE_DRIVE class-attribute instance-attribute

GOOGLE_DRIVE = 'google_drive'

Google Drive mirrors only (primary and backup folder).

ZENODO class-attribute instance-attribute

ZENODO = 'zenodo'

Zenodo records only.