IEnsemblePreprocessorExecuteForPrediction Method |
Processes the spectra for prediction.
For prediction it is necessary to use the auxiliary data previously evaluated by
Execute(Double, MatrixDouble, Int32), in order to apply the same treatment to the spectra.
Namespace: Altaxo.Science.Spectroscopy.EnsembleProcessingAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax(double[] , Matrix<double> y, int[] ) ExecuteForPrediction(
double[] x,
Matrix<double> y,
int[] regions,
IEnsembleProcessingAuxiliaryData? auxiliaryData
)
Parameters
- x Double
- The x-values of the spectra.
- y MatrixDouble
- The matrix of spectra. Each row of the matrix represents a spectrum.
- regions Int32
- Vector of spectral regions. Each element is the index of the start of a new region.
- auxiliaryData IEnsembleProcessingAuxiliaryData
- The auxiliary data previously evaluated by the ensemble preprocessing.
Return Value
ValueTupleDouble,
MatrixDouble,
Int32X-values, y-values, and regions of the processed spectra for prediction.
Implements
ISingleSpectrumPreprocessorExecuteForPrediction(Double, MatrixDouble, Int32, IEnsembleProcessingAuxiliaryData)
See Also