Confusion Matrix¶
Computes the confusion matrix given predictions and true Y-values.
| Configuration: |
|
|---|---|
| Attributes: | |
| Inputs: |
|
| Outputs: |
|
- Input ports:
Y-pred: table
Y-pred
Y-true: table
Y-true
- Output ports:
confusion-matrix: table
confusion-matrix
- Configuration:
- labels
- List of labels to index the matrix. This may be used to reorder
or select a subset of labels.
If none is given, those that appear at least once
in
y_trueory_predare used in sorted order. - include heading
- Adds a columns with used class names
Some of the docstrings for this module have been automatically extracted from the scikit-learn library and are covered by their respective licenses.