Now i can understand Classifier . So i move forward to anomaly detect.
I see this:
compute ( activeColumns , predictedColumns , inputValue=None , timestamp=None )
Compute the anomaly score as the percent of active columns not predicted.
Parameters: * activeColumns – array of active column indices
- predictedColumns – array of columns indices predicted in this step (used for anomaly in step T+1)
- inputValue – (optional) value of current input to encoders (eg “cat” for category encoder) (used in anomaly-likelihood)
timestamp – (optional) date timestamp when the sample occured (used in anomaly-likelihood)
Returns: the computed anomaly score; float 0…1
I have a question:
In Parameters above:
activeColumns : i can get it from the SP in this round ( each round is in one data row in the dataset file)
But predictedColumns: do i get it from the TM in this round or i have to get it from the last round.
Thank you very much.