Anomaly scores relation with "windowSize" parameter in "movingAverage" class

Hi All,

I have a doubt that if we give some value to the parameter “windowSize” in “movingAverage” class from how does it effect the calculation of next anomaly score, if my understanding is correct anomaly score is calculated on temporal level as difference between the predicted columns and active columns from spatial pooler, So how does the calculated moving average affect the anomaly score at temporal level. Does it helps to pacify the anomaly score in any ways. If yes how is it different from anomaly likelihood.

will be gratefull for the inputs



windowSize and moving averages are only used as part of the anomaly likelihood calculation. This is done after the anomaly score is computed. Details are in this paper here (see section on “Computing Anomaly Likelihood”):