|
IMultilabelLikelihoodClassifier< TInput> . Probability Method (TInput[] , Int32,Double[] )
|
Computes the probability that the given input vectors
belongs to each class specified in classIndex.
Namespace:
Accord.MachineLearning
Assembly:
Accord (in Accord.dll) Version: 3.8.0
Syntaxdouble[] Probability(
TInput[] input,
int classIndex,
double[] result
)
Function Probability (
input As TInput(),
classIndex As Integer,
result As Double()
) As Double()
Request Example
View SourceParameters
- input
- Type:TInput[]
A set of input vectors. - classIndex
- Type: System.Int32
The class indices associated with each
input vector whose scores will be computed. - result
- Type:System.Double[]
An array where the distances will be stored,
avoiding unnecessary memory allocations.
Return Value
Type:
Double[]
See Also