algorithms (pmrf.algorithms)
General helper algorithms for anomaly and convergence detection.
Functions
|
Computes a boolean mask of rows that ARE anomalies. |
|
Checks if an array has any sudden changes for all values relative to the previous window values. |
|
Returns True if the last window values are all below the absolute tolerance. |
Returns True if the relative change between consecutive values is below epsilon for the last window steps. |
|
|
Check if an array has converged by no improvement over a recent window. |
|
Check if an array has converged by various metrics. |