|
SimpleLinearRegressionGetPredictionInterval Method
|
Gets the prediction interval for an input point.
Namespace:
Accord.Statistics.Models.Regression.Linear
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax public DoubleRange GetPredictionInterval(
double input,
double[] inputs,
double[] outputs,
double percent = 0.95
)
Public Function GetPredictionInterval (
input As Double,
inputs As Double(),
outputs As Double(),
Optional percent As Double = 0.95
) As DoubleRange
Request Example
View SourceParameters
- input
- Type: SystemDouble
The input point. - inputs
- Type: SystemDouble
The inputs used to train the model. - outputs
- Type: SystemDouble
The outputs used to train the model. - percent (Optional)
- Type: SystemDouble
The prediction interval confidence (default is 95%).
Return Value
Type:
DoubleRangeSee Also