luminol
luminol copied to clipboard
How to set the new parameter values to the algorithm
I would like to modify the below parameters in my algorithm.
'precision'(4): # how many sections to categorize values, 'lag_window_size'(2% of the series length): # lagging window size, 'future_window_size'(2% of the series length): # future window size, 'chunk_size'(2): # chunk size.
How to pack and pass the above parameters in "algorithm_params" variable.
Thanks in advance.
You can pass these as arguments to the BitmapDetector, the default arguments are:
BitmapDetector(time_series, baseline_time_series=None, precision=None,
lag_window_size=None, future_window_size=None, chunk_size=None)
If the arguments aren't specified then the constants in src/luminol/constants.py are used.