Click or drag to resize
Accord.NET (logo)

IterativeReweightedLeastSquaresRun Method (Double, Double, Double)

Note: This API is now obsolete.

Runs one iteration of the Reweighted Least Squares algorithm.

Namespace:  Accord.Statistics.Models.Regression.Fitting
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
[ObsoleteAttribute("Please use Learn(x, y) instead.")]
public double Run(
	double[][] inputs,
	double[] outputs,
	double[] sampleWeights
)
Request Example View Source

Parameters

inputs
Type: SystemDouble
The input data.
outputs
Type: SystemDouble
The outputs associated with each input vector.
sampleWeights
Type: SystemDouble
An weight associated with each sample.

Return Value

Type: Double
The maximum relative change in the parameters after the iteration.
See Also