| LinearRegression(DataFrame, Int32, IRegressionCalculation) Constructor |
Constructs a LinearRegression instance with the specifed regresssion data
and an index to the observation column. Model parameter values are computed
using the specified regression calculator.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public LinearRegression(
DataFrame data,
int observationIndex,
IRegressionCalculation regressionCalculator
)
Public Sub New (
data As DataFrame,
observationIndex As Integer,
regressionCalculator As IRegressionCalculation
)
public:
LinearRegression(
DataFrame^ data,
int observationIndex,
IRegressionCalculation^ regressionCalculator
)
new :
data : DataFrame *
observationIndex : int *
regressionCalculator : IRegressionCalculation -> LinearRegression
Parameters
- data DataFrame
- Regression data.
- observationIndex Int32
- Index to column of observations.
- regressionCalculator IRegressionCalculation
- A regression calculation object. Must
implement the IRegressionCalculation interface.
See Also