Click or drag to resize

PLS2Regression Class

Implements Partial Least Squares regression (PLS2) analysis and prediction.
Inheritance Hierarchy
SystemObject
  Altaxo.Calc.Regression.MultivariateMultivariateRegression
    Altaxo.Calc.Regression.MultivariatePLS2Regression

Namespace: Altaxo.Calc.Regression.Multivariate
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public class PLS2Regression : MultivariateRegression

The PLS2Regression type exposes the following members.

Constructors
 NameDescription
Public methodPLS2RegressionInitializes a new instance of the PLS2Regression class
Top
Properties
 NameDescription
Public propertyCalibrationModel Gets the calibration model as a PLS2-specific calibration model interface.
Protected propertyInternalCalibrationModel Gets the calibration model of the analysis.
(Overrides MultivariateRegressionInternalCalibrationModel)
Public propertyNumberOfFactors Gets the number of factors calculated during the analysis.
(Inherited from MultivariateRegression)
Public propertyNumberOfSpectralResiduals Gets the number of spectral residuals. This is normally 1, but for the PLS1 analysis, it is NumberOfY.
(Inherited from MultivariateRegression)
Public propertyPRESS Gets the predicted error sum of squares (PRESS) values accumulated during analysis.
Top
Methods
 NameDescription
Public methodAnalyzeFromPreprocessed Creates an analysis from preprocessed spectra and preprocessed concentrations.
(Inherited from MultivariateRegression)
Protected methodAnalyzeFromPreprocessedWithoutReset Creates an analysis from preprocessed spectra and preprocessed concentrations.
(Overrides MultivariateRegressionAnalyzeFromPreprocessedWithoutReset(IROMatrixDouble, IROMatrixDouble, Int32))
Public methodStatic memberCalculateXLeverageFromPreprocessed Calculates the x leverage values (hat matrix diagonal) from preprocessed spectra.
Public methodStatic memberCreateFromPreprocessed Creates a PLS2 regression from preprocessed spectra and preprocessed target variables.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodStatic memberExecuteAnalysis Performs the Partial Least Squares (PLS2) decomposition of the matrices _X and _Y.
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 methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodStatic memberGetPredictionScoreMatrix Gets the prediction-score matrix.
Public methodGetPredictionScores Calculates the prediction scores.
(Inherited from MultivariateRegression)
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.
(Overrides MultivariateRegressionGetPRESSFromPreprocessed(IROMatrixDouble))
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetXLeverageFromPreprocessed Calculates the spectral leverage from preprocessed spectra.
(Inherited from MultivariateRegression)
Public methodGetXLeverageFromRaw Calculates the spectral leverage from raw spectra.
(Inherited from MultivariateRegression)
Protected methodInternalGetPredictionScores Calculates the prediction scores (for use with the preprocessed spectra).
(Overrides MultivariateRegressionInternalGetPredictionScores(Int32, IMatrixDouble))
Protected methodInternalGetXLeverageFromPreprocessed Calculates the spectral leverage values from the preprocessed spectra.
(Overrides MultivariateRegressionInternalGetXLeverageFromPreprocessed(IROMatrixDouble, Int32, IMatrixDouble))
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodStatic memberPredict Predicts target variables and/or computes spectral residuals for preprocessed spectra.
Public methodPredictedYAndSpectralResidualsFromPreprocessed This predicts concentrations of unknown spectra.
(Overrides MultivariateRegressionPredictedYAndSpectralResidualsFromPreprocessed(IROMatrixDouble, Int32, IMatrixDouble, IMatrixDouble))
Public methodPredictYFromPreprocessed Predicts target variables from preprocessed spectra.
(Inherited from MultivariateRegression)
Public methodPredictYFromRaw Predicts y values from raw (unpreprocessed) spectra.
(Inherited from MultivariateRegression)
Public methodReset Resets the regression, so that it appears newly created.
(Overrides MultivariateRegressionReset)
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.
(Overrides MultivariateRegressionSetCalibrationModel(IMultivariateCalibrationModel))
Public methodSpectralResidualsFromPreprocessed(IROMatrixDouble, Int32) Calculates the spectral residuals from preprocessed spectra.
(Inherited from MultivariateRegression)
Public methodSpectralResidualsFromPreprocessed(IROMatrixDouble, Int32, IMatrixDouble) Calculates the spectral residuals from preprocessed spectra.
(Inherited from MultivariateRegression)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Protected field_PRESS 
Top
See Also