preprocessor.sliding_window package

Submodules

preprocessor.sliding_window.sliding_window module

This File contains the SlidingWindow class. To run this script uncomment or add the following lines in the [options.entry_points] section in setup.cfg:

console_scripts =
sliding_window = sliding_window.__main__:main

Then run python setup.py install which will install the command sliding_window inside your current environment.

class preprocessor.sliding_window.sliding_window.SlidingWindow(conf)[source]

Bases: preprocessor.preprocessor.Preprocessor

The SlidingWindow preprocessor class

core()[source]
Core preprocessor task after starting the instance with the main method.
Decide from the arguments, what method to call.

Args: args (obj): command line parameters as objects

parse_args(args)[source]

Parse command line parameters additional to the preprocessor class ones

Parameters:args ([str]) – command line parameters as list of strings
Returns:command line parameters namespace
Return type:argparse.Namespace
sl_window()[source]

Perform sliding window technique on the input the dataset.

store()[source]

Save preprocessed data and the configuration of the preprocessor.

preprocessor.sliding_window.sliding_window.run(args)[source]

Entry point for console_scripts

Module contents