DynamicParameterEstimationCalculateSelfPredictionError(MatrixDouble, IReadOnlyListDouble, IVectorDouble) Method |
Calculates the mean prediction error using recursive prediction of y (self-prediction) for the given matrix and comparison y values.
Namespace: Altaxo.Calc.RegressionAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxprotected virtual double CalculateSelfPredictionError(
Matrix<double> inputMatrix,
IReadOnlyList<double> yCompare,
IVector<double>? predictedOutput
)
Parameters
- inputMatrix MatrixDouble
- Input matrix (left side of the equation).
- yCompare IReadOnlyListDouble
- Vector of y values to compare against.
- predictedOutput IVectorDouble
- Optional vector to store the predicted y values.
Return Value
DoubleThe mean prediction error, i.e.
Sqrt(Sum((y-yPredicted)²)/N).
See Also