NonlinearRegressionModel.Predict Method

Definition

Namespace: Numerics.NET.Statistics
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

Overload List

Predict(Double) Predicts the value of the dependent variable based on the specified value of the independent variable.
Predict(IDataFrame, ModelInputFormat) Predicts the value of the output corresponding to the specified features.
Predict(Matrix<T>, ModelInputFormat) Predicts the value of the output corresponding to the specified features.
Predict(Vector<T>, ModelInputFormat) Predicts the value of the output corresponding to the specified features.

Predict(Double)

Predicts the value of the dependent variable based on the specified value of the independent variable.
C#
public double Predict(
	double independentValue
)

Parameters

independentValue  Double
The value for the independent variables.

Return Value

Double
The value of the dependent variable predicted by the regression.

Exceptions

InvalidOperationException

The model was not computed.

See Also