|
MultipleLinearRegressionAnalysis Constructor (Double, Double, String, String, Boolean)
|
Note: This API is now obsolete.
Constructs a Multiple Linear Regression Analysis.
Namespace:
Accord.Statistics.Analysis
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax [ObsoleteAttribute("Please pass the 'inputs' and 'outputs' parameters to the Learn method instead.")]
public MultipleLinearRegressionAnalysis(
double[][] inputs,
double[] outputs,
string[] inputNames,
string outputName,
bool intercept = false
)
<ObsoleteAttribute("Please pass the 'inputs' and 'outputs' parameters to the Learn method instead.")>
Public Sub New (
inputs As Double()(),
outputs As Double(),
inputNames As String(),
outputName As String,
Optional intercept As Boolean = false
)
Request Example
View SourceParameters
- inputs
- Type: SystemDouble
The input data for the analysis. - outputs
- Type: SystemDouble
The output data for the analysis. - inputNames
- Type: SystemString
The names of the input variables. - outputName
- Type: SystemString
The name of the output variable. - intercept (Optional)
- Type: SystemBoolean
True to use an intercept term, false otherwise. Default is false.
See Also