LinearRegressionPredict Method |
Returns the expected response y given the value of the predictor
variable x.
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic double Predict(
double x
)
Parameters
- x
- Type: SystemDouble
the value of the predictor variable
Return Value
Type:
Doublethe expected response
y given the value of the predictor
variable
x
See Also