luminol icon indicating copy to clipboard operation
luminol copied to clipboard

How to set the new parameter values to the algorithm

Open dpkkumar01 opened this issue 8 years ago • 1 comments

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.

dpkkumar01 avatar Aug 04 '17 14:08 dpkkumar01

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.

brennv avatar Sep 28 '17 12:09 brennv