timesead.data.preprocessing.swat
Functions
|
Preprocess SWaT dataset for experiments |
Module Contents
- timesead.data.preprocessing.swat.preprocess_swat_data(dataset_dir: str, out_dir: str, chunksize: int | None = None, gzip: bool = False)
Preprocess SWaT dataset for experiments
- Parameters:
dataset_dir (str) – Path to the dataset folder
out_dir (str) – Directory where the preprocessed data should be saved. This directory should exist already.
chunksize (Optional[int]) – The processed csv data uses this chunksize value if set.
gzip (bool) – Whether the output file should be saved as a gzip file.