Click or drag to resize
LinearRegressionPredict Method
Returns the expected response y given the value of the predictor variable x.

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public double Predict(
	double x
)

Parameters

x
Type: SystemDouble
the value of the predictor variable

Return Value

Type: Double
the expected response y given the value of the predictor variable x
See Also