SimpleRegressionModel.Predict Method

Definition

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

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 value
)

Parameters

value  Double
The values for the independent variable.

Return Value

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

See Also