Confusion Matrix¶
Computes the confusion matrix given predictions and true Y-values.
Definition¶
Input ports¶
- Y-pred
Type: tableDescription: Y-pred- Y-true
Type: tableDescription: Y-true
Output ports¶
- confusion-matrix
Type: tableDescription: confusion-matrix
Configuration¶
- Include heading (include heading)
Adds a columns with used class names
- Labels (labels)
List of labels to index the matrix. This may be used to reorder or select a subset of labels. If
Noneis given, those that appear at least once iny_trueory_predare used in sorted order.
Examples¶
The node can be found in:
Implementation¶
- class node_metrics.ConfusionFromPrediction[source]