|
MultinomialLogisticRegressionGetLogLikelihoodRatio Method
|
Gets the Log-Likelihood Ratio between two models.
Namespace:
Accord.Statistics.Models.Regression
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax public double GetLogLikelihoodRatio(
double[][] input,
double[][] output,
MultinomialLogisticRegression regression
)
Public Function GetLogLikelihoodRatio (
input As Double()(),
output As Double()(),
regression As MultinomialLogisticRegression
) As Double
Request Example
View SourceParameters
- input
- Type: SystemDouble
A set of input data. - output
- Type: SystemDouble
A set of output data. - regression
- Type: Accord.Statistics.Models.RegressionMultinomialLogisticRegression
Another Logistic Regression model.
Return Value
Type:
DoubleThe Log-Likelihood ratio (a measure of performance
between two models) calculated over the given data sets.
Remarks
The Log-Likelihood ratio is defined as 2*(LL - LL0).
See Also