Click or drag to resize
Accord.NET (logo)

NonNegativeLeastSquaresRun Method

Note: This API is now obsolete.

Runs the fitting algorithm.

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

Parameters

inputs
Type: SystemDouble
The input training data.
outputs
Type: SystemDouble
The output associated with each of the outputs.

Return Value

Type: Double
The sum of squared errors after the learning.
See Also