Click or drag to resize
Accord.NET (logo)

LogisticRegression Constructor (Int32, Double)

Note: This API is now obsolete.

Creates a new Logistic 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 NumberOfInputs instead.")]
public LogisticRegression(
	int inputs,
	double intercept
)
Request Example View Source

Parameters

inputs
Type: SystemInt32
The number of input variables for the model.
intercept
Type: SystemDouble
The starting intercept value. Default is 0.
See Also