Input value out of range for a scalar encoder


Hello, I have a scalar input that I’m trying to run HTM on for anomaly detection. Let’s say that the minimum and maximum values specified for this input in the encoder params is 80 and 250.

What kind of anomaly scores can I expect when the HTM network encounters values outside this range, like 0, 400, etc. Is it for sure that it would declare such out of range inputs as anomalies (meaning flag an anomaly score of 1.0)?



The scalar encoder clips all values out of range, so 0 would get the same encoding as 80 and 400 the same as 250. The anomaly score then depends on how predicted each given value of <=80 or >=250 is at each time step.