Preprocessing#

To earn time while running experiments the samples can be cached in a local directory after the preprocessing steps.

To setup this feature you can just add the following line in the ~/.config/sleepless.toml file:

[cachedatadir]
EDF = "/Users/myself/preproc_data/EDF"
MASS = "/Users/myself/preproc_data/MASS"

Then run the following command to cache the samples.

$ sleepless <dataset> -vv

Replace <dataset> by the appropriate configuration files.

Examples#

$ sleepless stedf-unfiltered -vv

The next time you run a script with the stedf-unfiltered dataset, the cached samples will be loaded.

Warning

If any preprocessing steps get modified, you need to delete the directory where samples are cached and recompute the preprocessing