|
MultinomialLogisticRegressionGetLogLikelihood Method (Double, Int32)
|
Gets the Deviance for the model.
Namespace:
Accord.Statistics.Models.Regression
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax public double GetLogLikelihood(
double[][] inputs,
int[] classes
)
Public Function GetLogLikelihood (
inputs As Double()(),
classes As Integer()
) As Double
Request Example
View SourceParameters
- inputs
- Type: SystemDouble
A set of input data. - classes
- Type: SystemInt32
A set of output data.
Return Value
Type:
Double
The deviance (a measure of performance) of the model
calculated over the given data sets.
Remarks
The deviance is defined as -2*Log-Likelihood.
See Also