Click or drag to resize
Accord.NET (logo)

GeneralizedLinearRegression Constructor (ILinkFunction, Int32, Double)

Note: This API is now obsolete.

Creates a new Generalized Linear Regression Model.

Namespace:  Accord.Statistics.Models.Regression
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
[ObsoleteAttribute("Please use the default constructor and set the NumberofInputs and Intercept properties instead.")]
public GeneralizedLinearRegression(
	ILinkFunction function,
	int inputs,
	double intercept
)
Request Example View Source

Parameters

function
Type: Accord.Statistics.LinksILinkFunction
The link function to use.
inputs
Type: SystemInt32
The number of input variables for the model.
intercept
Type: SystemDouble
The starting intercept value. Default is 0.
See Also