Click or drag to resize

LinearRegression(DataFrame, IDFColumn) Constructor

Constructs a LinearRegression instance with the specifed regresssion data and observation column. By default, the model parameter values are computed using a QR factorization.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public LinearRegression(
	DataFrame data,
	IDFColumn observations
)

Parameters

data  DataFrame
Regression data.
observations  IDFColumn
Column of observations.
Exceptions
ExceptionCondition
MismatchedSizeExceptionThrown if the number of rows in the regression data is not equal to the length of the observation vector.
See Also