Initialize of the AnomalyDetector (inputMin and inputMax)


As I have seen the code in the init method in AnomalyDetector, the inputMin and inputMax are obtained at the initial phase. But in fact if the algorithm is online-adaptived, how can we know the input Min/Max Value at the very beginning? Is it logical? Or we need to set them empirically at the beginning, and for each new input, check if we need to update the input min and input max?

With best regards,


This is not a NuPIC restriction, it is a part of the NAB framework. I’m not sure why it is there, but NuPIC does not need to know min/max input values when using the RDSE.