Documentation Home
HeatWave User Guide
Related Documentation Download this Manual
PDF (US Ltr) - 2.2Mb
PDF (A4) - 2.2Mb


HeatWave User Guide  /  ...  /  Anomaly Detection Algorithm Models

3.10.1 Anomaly Detection Algorithm Models

Generalized kth Nearest Neighbors (GkNN) is an algorithm model developed at Oracle. It is a single ensemble algorithm that outperforms state-of-the-art models on public benchmarks. It can identify common anomaly types, such as local, global, and clustered anomalies, and can achieve an AUC score that is similar to, or better than, when identifying the following:

  • Global anomalies compared to KNN, with an optimal k hyperparameter value.

  • Local anomalies compared to LOF, with an optimal k hyperparameter value.

  • Clustered anomalies.

Optimal k hyperparameter values would be extremely difficult to set without labels and knowledge of the use-case.

Other algorithms would require training and comparing scores from at least three algorithms to address global and local anomalies, ignoring clustered anomalies: LOF for local, KNN for global, and another generic method to establish a 2/3 voting mechanism.

MySQL 8.4.0 introduces support for the following algorithm models:

  • Principal Component Analysis (PCA)

  • The internally developed Generalized Local Outlier Factor (GLOF)