|
MultilabelLikelihoodClassifierBaseTInputLogLikelihood Method (TInput, Int32, Boolean)
|
Computes a log-likelihood measuring the association between
the given input vector and a given
classIndex.
Namespace:
Accord.MachineLearning
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax public abstract double LogLikelihood(
TInput input,
int classIndex,
out bool decision
)
Public MustOverride Function LogLikelihood (
input As TInput,
classIndex As Integer,
<OutAttribute> ByRef decision As Boolean
) 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. - decision
- Type: SystemBoolean
The class label associated with the input
vector, as predicted by the classifier.
Return Value
Type:
DoubleSee Also