|
GeneralConfusionMatrixEstimateTInput Method (IClassifierTInput, Boolean, TInput, Boolean)
|
Namespace:
Accord.Statistics.Analysis
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax public static GeneralConfusionMatrix Estimate<TInput>(
IClassifier<TInput, bool> classifier,
TInput[] inputs,
bool[] expected
)
Public Shared Function Estimate(Of TInput) (
classifier As IClassifier(Of TInput, Boolean),
inputs As TInput(),
expected As Boolean()
) As GeneralConfusionMatrix
Request Example
View SourceParameters
- classifier
- Type: Accord.MachineLearningIClassifierTInput, Boolean
The classifier. - inputs
- Type: TInput
The input vectors. - expected
- Type: SystemBoolean
The expected outputs associated with each input vector.
Type Parameters
- TInput
- The type of the inputs accepted by the classifier.
Return Value
Type:
GeneralConfusionMatrixA
GeneralConfusionMatrix capturing the performance of the classifier when
trying to predict the outputs
expected from the
inputs.
See Also