Click or drag to resize

RegressionBaseAddPredictors Method

Adds predictors to the model, and recalculates the model parameters.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public void AddPredictors(
	DoubleMatrix predictorValues
)

Parameters

predictorValues  DoubleMatrix
Matrix of predictor values. Each column of the matrix is a set of predictor values.
Exceptions
ExceptionCondition
MismatchedSizeExceptionThrown if the number of rows in the given matrix is not equal to the number of rows in the regression matrix (also equal to length of the observation vector).
See Also