Click or drag to resize
Accord.NET (logo)

MultilabelLikelihoodClassifierBaseTInputProbability Method (TInput, Int32)

Computes the probability that the given input vector belongs to the specified classIndex.

Namespace:  Accord.MachineLearning
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public double[] Probability(
	TInput[] input,
	int[] classIndex
)
Request Example View Source

Parameters

input
Type: TInput
The input vector.
classIndex
Type: SystemInt32
The index of the class whose score will be computed.

Return Value

Type: Double

Implements

IMultilabelLikelihoodClassifierTInputProbability(TInput, Int32)
See Also