|
GeneralizedLinearRegressionGetDeviance Method (Double, Double, Double)
|
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 GetDeviance(
double[][] input,
double[] output,
double[] weights
)
Public Function GetDeviance (
input As Double()(),
output As Double(),
weights As Double()
) As Double
Request Example
View SourceParameters
- input
- Type: SystemDouble
A set of input data. - output
- Type: SystemDouble
A set of output data. - weights
- Type: SystemDouble
The weights associated with each input vector.
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