evaluateAnomalyDetection
R2026bSyntax
Description
calculates various metrics to evaluate the quality of the anomaly detection results
metrics = evaluateAnomalyDetection(predLabels,gtLabels,anomalyLabels)predLabels against the ground truth gtLabels.
anomalyLabels indicates which class labels in
gtLabels belong to the anomaly (positive) class
also displays the evaluation progress information in the command window.metrics = evaluateAnomalyDetection(predLabels,gtLabels,anomalyLabels,Verbose=tf)