Click or drag to resize
Accord.NET (logo)

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
)
Request Example View Source

Parameters

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: Double
The 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