DynamicParameterEstimationCalculateCrossPredictionError(IReadOnlyListDouble, IReadOnlyListDouble) Method |
With the already evaluated parameters, calculates the mean error for another piece of data.
Note that both vectors must have a length of at least _startingPoint + 1, since the first _startingPoint samples are used for the history.
Namespace: Altaxo.Calc.RegressionAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic virtual double CalculateCrossPredictionError(
IReadOnlyList<double> x,
IReadOnlyList<double> y
)
Parameters
- x IReadOnlyListDouble
- Vector of x data.
- y IReadOnlyListDouble
- Vector of y data.
Return Value
DoubleThe mean error between predicted y values and actual y values.
See Also