confusionMatrix
Syntax
Description
[
computes the confusion matrix for all overlap thresholds in the confusionMatrix,confusionClassNames] = confusionMatrix(metrics)OverlapThreshold property of
metrics, and returns the confusion matrix and the class
names. The function considers all segmentations to compute the confusion
matrix.
[
specifies one or more name-value arguments. For example,
confusionMatrix,confusionClassNames] = confusionMatrix(metrics,Name=Value)ScoreThreshold=0.3 specifies to disregard segmentations with
a confidence score value below 0.3 when computing the confusion
matrix.
Input Arguments
Name-Value Arguments
Output Arguments
Version History
Introduced in R2024b