evaluateAnomalyDetection
Evaluate anomaly detection results against ground truth
Syntax
Description
calculates various metrics to evaluate the quality of the anomaly detection results
metrics
= evaluateAnomalyDetection(predLabels
,trueLabels
,truePosLabels
)predLabels
against the ground truth trueLabels
.
truePosLabels
lists the class labels in
trueLabels
that correspond to positive detections.
Note
This function requires the Computer Vision Toolbox™ Automated Visual Inspection Library. You can install the Computer Vision Toolbox Automated Visual Inspection Library from Add-On Explorer. For more information about installing add-ons, see Get and Manage Add-Ons. To run this function, you will require the Deep Learning Toolbox™.
also displays the evaluation progress information in the command window.metrics
= evaluateAnomalyDetection(predLabels
,trueLabels
,truePosLabels
,Verbose=tf
)
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2022b