evaluateAnomalyDetection
Syntax
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
Note
This functionality requires the Automated Visual Inspection Library for Computer Vision Toolbox™. You can install the Automated Visual Inspection Library for Computer Vision Toolbox from Add-On Explorer. For more information about installing add-ons, see Get and Manage Add-Ons.
also displays the evaluation progress information in the command window.metrics = evaluateAnomalyDetection(predLabels,gtLabels,anomalyLabels,Verbose=tf)
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2022b