|
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
)
<ObsoleteAttribute("Please use Learn(x, y) instead.")>
Public Function Run (
inputs As Double()(),
outputs As Double(),
sampleWeights As Double()
) As Double
Request Example
View SourceParameters
- 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:
DoubleThe maximum relative change in the parameters after the iteration.
See Also