Skip to main content

Confusion Matrix to ExampleSet

Synopsis​

This operators extracts the confusion matrix from a performance vector and deliver it as an ExampleSet.

Description​

The confusion matrix is extracted from the performance vector at the input port. The resulting ExampleSet will have a size of (n+1) x n where n is the number of classes. A UserError is thrown if the performance vector does not contain the confusion matrix.

Input​

performance​

A performance vector. The performance vector needs to contain a confusion matrix.

Output​

example set​

ExampleSet containing the confusion matrix.

original​

The original performance vector.

See Also​