|
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
)
Public Sub New (
predicted As Integer(),
expected As Integer(),
Optional positiveValue As Integer = 1
)
Request Example
View SourceParameters
- 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