Click or drag to resize

PCRRegression Class

PCRRegression contains static methods for doing principal component regression analysis and prediction of the data.
Inheritance Hierarchy
SystemObject
  Altaxo.Calc.Regression.MultivariateMultivariateRegression
    Altaxo.Calc.Regression.MultivariatePCRRegression

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

The PCRRegression type exposes the following members.

Constructors
 NameDescription
Public methodPCRRegressionInitializes a new instance of the PCRRegression class
Top
Properties
 NameDescription
Public propertyCalibrationModel Returns the calibration model of the analysis.
(Inherited from MultivariateRegression)
Protected propertyInternalCalibrationModel
(Overrides MultivariateRegressionInternalCalibrationModel)
Public propertyNumberOfFactors Returns the number of factors calculated during the analysis.
(Inherited from MultivariateRegression)
Public propertyNumberOfSpectralResiduals This returns the number of spectral residuals. This is normally 1, but for the PLS1 analyis, it is the NumberOfY.
(Inherited from MultivariateRegression)
Top
Methods
 NameDescription
Public methodAnalyzeFromPreprocessed Creates an analyis from preprocessed spectra and preprocessed concentrations.
(Inherited from MultivariateRegression)
Protected methodAnalyzeFromPreprocessedWithoutReset Creates an analyis from preprocessed spectra and preprocessed concentrations.
(Overrides MultivariateRegressionAnalyzeFromPreprocessedWithoutReset(IROMatrixDouble, IROMatrixDouble, Int32))
Public methodStatic memberCalculatePRESS(IROMatrixDouble, IROMatrixDouble, Int32, IReadOnlyListDouble) 
Public methodStatic memberCalculatePRESS(IROMatrixDouble, IROMatrixDouble, IROMatrixDouble, IROMatrixDouble, IReadOnlyListDouble, Int32, IReadOnlyListDouble) 
Public methodStatic memberCalculateXLeverageFromPreprocessed 
Public methodStatic memberCreateFromPreprocessed Creates an analyis from preprocessed spectra and preprocessed concentrations.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodStatic memberExecuteAnalysis 
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 
Public methodGetPredictionScores Calculates the prediction scores.
(Inherited from MultivariateRegression)
Public methodGetPRESSFromPreprocessed
(Overrides MultivariateRegressionGetPRESSFromPreprocessed(IROMatrixDouble))
Public methodStatic memberGetSpectralResiduals 
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 withthe preprocessed spectra).
(Overrides MultivariateRegressionInternalGetPredictionScores(Int32, IMatrixDouble))
Protected methodInternalGetXLeverageFromPreprocessed
(Overrides MultivariateRegressionInternalGetXLeverageFromPreprocessed(IROMatrixDouble, Int32, IMatrixDouble))
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodStatic memberPredict 
Public methodPredictedYAndSpectralResidualsFromPreprocessed This predicts concentrations of unknown spectra.
(Overrides MultivariateRegressionPredictedYAndSpectralResidualsFromPreprocessed(IROMatrixDouble, Int32, IMatrixDouble, IMatrixDouble))
Public methodPredictYFromPreprocessed This predicts concentrations of unknown spectra.
(Inherited from MultivariateRegression)
Public methodPredictYFromRaw Predicts y values from raw (unpreprocessed) spectra.
(Inherited from MultivariateRegression)
Public methodReset
(Overrides MultivariateRegressionReset)
Public methodSetCalibrationModel
(Overrides MultivariateRegressionSetCalibrationModel(IMultivariateCalibrationModel))
Public methodSpectralResidualsFromPreprocessed(IROMatrixDouble, Int32) This calculates the spectral residuals.
(Inherited from MultivariateRegression)
Public methodSpectralResidualsFromPreprocessed(IROMatrixDouble, Int32, IMatrixDouble) This calculates the spectral residuals.
(Inherited from MultivariateRegression)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Protected field_PRESS 
Top
See Also