|
MultilabelLikelihoodClassifierBaseTInputLogLikelihood Method (TInput, Int32, Double)
|
Computes the log-likelihood 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[] LogLikelihood(
TInput[] input,
int[] classIndex,
double[] result
)
Public Function LogLikelihood (
input As TInput(),
classIndex As Integer(),
result As Double()
) As Double()
Request Example
View SourceParameters
- input
- Type: TInput
The input vector. - classIndex
- Type: SystemInt32
The index of the class whose score will be computed. - result
- Type: SystemDouble
An array where the log-likelihoods will be stored,
avoiding unnecessary memory allocations.
Return Value
Type:
DoubleImplements
IMultilabelLikelihoodClassifierTInputLogLikelihood(TInput, Int32, Double)See Also