Click or drag to resize
Accord.NET (logo)

NonlinearRegression Constructor (Int32, RegressionFunction, RegressionGradientFunction)

Initializes a new instance of the NonlinearRegression class.

Namespace:  Accord.Statistics.Models.Regression
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public NonlinearRegression(
	int parameters,
	RegressionFunction function,
	RegressionGradientFunction gradient
)
Request Example View Source

Parameters

parameters
Type: SystemInt32
The number of variables (free parameters) in the model.
function
Type: Accord.Statistics.Models.RegressionRegressionFunction
The regression function implementing the regression model.
gradient
Type: Accord.Statistics.Models.RegressionRegressionGradientFunction
The function that computes the gradient for function (optional).
See Also