Click or drag to resize
Accord.NET (logo)

SimpleLinearRegressionGetPredictionStandardError Method

Gets the standard error of the prediction for a particular input point.

Namespace:  Accord.Statistics.Models.Regression.Linear
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public double GetPredictionStandardError(
	double input,
	double[] inputs,
	double[] outputs
)
Request Example View Source

Parameters

input
Type: SystemDouble
The input vector where the standard error of the prediction should be computed.
inputs
Type: SystemDouble
The inputs used to train the model.
outputs
Type: SystemDouble
The outputs used to train the model.

Return Value

Type: Double
The standard error of the prediction given for the input point.
See Also