Click or drag to resize

IEnsembleMeanScalePreprocessorProcessForPrediction Method

Processes the spectra for prediction. For prediction it is neccessary to use the previously (by Process(IMatrixDouble, Int32, IVectorDouble, IVectorDouble)) evaluated spectral mean and scale values, in order to have the same treatment to the spectra as before.

Namespace: Altaxo.Science.Spectroscopy.EnsembleMeanScale
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
void ProcessForPrediction(
	IMatrix<double> spectraMatrix,
	int[] regions,
	IReadOnlyList<double> spectraMean,
	IReadOnlyList<double> spectraScale
)

Parameters

spectraMatrix  IMatrixDouble
The matrix of spectra. Each spectrum is a row of the matrix.
regions  Int32
Vector of spectal regions. Each element is the index of the start of a new region.
spectraMean  IReadOnlyListDouble
The previously evaluated ensemble mean of the spectra.
spectraScale  IReadOnlyListDouble
The previously evaluated ensenbly scale of the spectra.
See Also