Click or drag to resize

RegressionBaseAddPredictor Method

Adds a predictor to the model, and recalculates the model parameters.

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

Parameters

predictorValues  DoubleVector
A vector of predictor values.
Exceptions
ExceptionCondition
MismatchedSizeExceptionThrown if the length of the given vector is not equal to the number of rows in the regression matrix (also equal to length of the observation vector).
See Also