Click or drag to resize

MultivariateRegression Methods

The MultivariateRegression type exposes the following members.

Methods
 NameDescription
Public methodAnalyzeFromPreprocessed Creates an analysis from preprocessed spectra and preprocessed concentrations.
Protected methodAnalyzeFromPreprocessedWithoutReset Creates an analysis from preprocessed spectra and preprocessed concentrations.
Public methodStatic memberCrossValidationIteration Separates the spectra into a group of spectra used for calibration and the remaining spectra used for prediction. This separation is repeated until all spectra are used exactly one time for prediction.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodStatic memberGetCrossPRESS Gets the cross predicted error sum of squares (PRESS) for numberOfFactors = 0..maximalNumberOfFactors.
Public methodStatic memberGetCrossXResiduals Calculates the spectral residuals obtained from cross validation.
Public methodStatic memberGetCrossYPredicted Calculates the cross-predicted y values.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetPredictionScores Calculates the prediction scores.
Public methodGetPRESSFromPreprocessed Returns the predicted error sum of squares (PRESS) for this analysis. The length of the vector returned is the number of factors in the analysis plus one.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetXLeverageFromPreprocessed Calculates the spectral leverage from preprocessed spectra.
Public methodGetXLeverageFromRaw Calculates the spectral leverage from raw spectra.
Protected methodInternalGetPredictionScores Calculates the prediction scores (for use with the preprocessed spectra).
Protected methodInternalGetXLeverageFromPreprocessed Calculates the spectral leverage values from the preprocessed spectra.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodStatic memberPostprocessTargetVariablesInline(IMultivariatePreprocessingModel, IMatrixDouble) This calculates from the predicted (but still centered) y values the raw y values.
Public methodStatic memberPostprocessTargetVariablesInline(IMatrixDouble, IReadOnlyListDouble, IReadOnlyListDouble) This calculates from the predicted (but still centered) y values the raw y values.
Public methodPredictedYAndSpectralResidualsFromPreprocessed Calculates the predicted target variables and the spectral residuals from preprocessed spectra.
Public methodPredictYFromPreprocessed Predicts target variables from preprocessed spectra.
Public methodPredictYFromRaw Predicts y values from raw (unpreprocessed) spectra.
Public methodStatic memberPreprocessForAnalysis Preprocesses the x and y matrices before usage in multivariate calibrations.
Public methodStatic memberPreprocessSpectraForAnalysis Preprocesses the spectra. This is the common first part, without ensemble processing.
Public methodStatic memberPreprocessSpectraForPrediction(IMultivariateCalibrationModel, Double, IROMatrixDouble, Double, IMatrixDouble) This will convert the raw spectra (horizontally in matrixX) to preprocessed spectra according to the calibration model.
Public methodStatic memberPreprocessSpectraForPrediction(ISingleSpectrumPreprocessor, IEnsembleMeanScalePreprocessor, Double, IROMatrixDouble, IReadOnlyListDouble, IReadOnlyListDouble, Double, IMatrixDouble) Preprocesses the x and y matrices before usage in multivariate calibrations.
Public methodStatic memberPreprocessTargetVariablesForAnalysis Preprocesses the x and y matrices before usage in multivariate calibrations.
Public methodStatic memberPreprocessTargetVariablesForAnalysisInline Preprocess the y values for analysis (mean center; scaling is currently not used).
Public methodReset Resets the regression, so that it appears newly created.
Public methodSetCalibrationModel Sets the calibration model data of the analysis to the provided data. This can be used to restore previously stored calibration data for use in the prediction functions.
Public methodSpectralResidualsFromPreprocessed(IROMatrixDouble, Int32) Calculates the spectral residuals from preprocessed spectra.
Public methodSpectralResidualsFromPreprocessed(IROMatrixDouble, Int32, IMatrixDouble) Calculates the spectral residuals from preprocessed spectra.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also