|
LogisticGradientDescentComputeError Method
|
Note: This API is now obsolete.
Computes the sum-of-squared error between the
model outputs and the expected outputs.
Namespace:
Accord.Statistics.Models.Regression.Fitting
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax [ObsoleteAttribute("Please use the LogLikelihoodLoss class instead.")]
public double ComputeError(
double[][] inputs,
double[] outputs
)
<ObsoleteAttribute("Please use the LogLikelihoodLoss class instead.")>
Public Function ComputeError (
inputs As Double()(),
outputs As Double()
) As Double
Request Example
View SourceParameters
- inputs
- Type: SystemDouble
The input data set. - outputs
- Type: SystemDouble
The output values.
Return Value
Type:
DoubleThe sum-of-squared errors.
See Also