Click or drag to resize
Accord.NET (logo)

ConfusionMatrix Constructor (Int32, Int32, Int32)

Constructs a new Confusion Matrix.

Namespace:  Accord.Statistics.Analysis
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public ConfusionMatrix(
	int[] predicted,
	int[] expected,
	int positiveValue = 1
)
Request Example View Source

Parameters

predicted
Type: SystemInt32
The values predicted by the model.
expected
Type: SystemInt32
The actual, truth values from the data.
positiveValue (Optional)
Type: SystemInt32
The integer label which identifies a value as positive.
See Also