Click or drag to resize

CrossValidationWorker Constructor

Initializes a new instance of the CrossValidationWorker class.

Namespace: Altaxo.Calc.Regression.Multivariate
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public CrossValidationWorker(
	double[] xOfX,
	int numFactors,
	ICrossValidationGroupingStrategy groupingStrategy,
	ISingleSpectrumPreprocessor preprocessSingleSpectrum,
	IEnsembleMeanScalePreprocessor preprocessEnsembleOfSpectra,
	MultivariateRegression analysis
)

Parameters

xOfX  Double
The X values common to all unprocessed spectra.
numFactors  Int32
The initial number of factors to use.
groupingStrategy  ICrossValidationGroupingStrategy
The grouping strategy used for cross validation.
preprocessSingleSpectrum  ISingleSpectrumPreprocessor
The preprocessor applied to each single spectrum.
preprocessEnsembleOfSpectra  IEnsembleMeanScalePreprocessor
The preprocessor applied to an ensemble of spectra.
analysis  MultivariateRegression
The analysis instance used to build the model and perform predictions.
See Also