MySQL AI User Guide

4.6.4.2 Anomaly Detection Learning Types

The AutoML feature of MySQL AI provides two types of learning for anomaly detection models: unsupervised and semi-supervised.

Unsupervised Anomaly Detection

When running an unsupervised anomaly detection model, the machine learning algorithm requires no labeled data. When training the model, the target_column_name parameter must be set to NULL.

Semi-supervised Anomaly Detection

Semi-supervised learning for anomaly detection uses a specific set of labeled data along with unlabeled data to detect anomalies. To enable this, use the experimental and semisupervised options. The target_column_name parameter must specify a column whose only allowed values are 0 (normal), 1 (anomalous), and NULL (unlabeled). All rows are used to train the unsupervised component, while the rows with a value different than NULL are used to train the supervised component.

What's Next