A Log-Based Anomaly Detection Method with Efficient Neighbor Searching and Automatic K Neighbor Selection
Algorithm 4
The strategy of anomaly detection.
Require: The sample to be detected S. An actual neighbor set containing neighbor samples for sample S. A positive sample set containing m normal samples in . A negative sample set containing n abnormal samples in Actual_Neighbor .