PCRRegression Class |
public class PCRRegression : MultivariateRegression
The PCRRegression type exposes the following members.
| Name | Description | |
|---|---|---|
| PCRRegression | Initializes a new instance of the PCRRegression class |
| Name | Description | |
|---|---|---|
| CalibrationModel |
Gets the calibration model of the analysis.
(Inherited from MultivariateRegression) | |
| InternalCalibrationModel |
Gets the calibration model of the analysis.
(Overrides MultivariateRegressionInternalCalibrationModel) | |
| NumberOfFactors |
Gets the number of factors calculated during the analysis.
(Inherited from MultivariateRegression) | |
| NumberOfSpectralResiduals |
Gets the number of spectral residuals. This is normally 1, but for the PLS1 analysis, it is NumberOfY.
(Inherited from MultivariateRegression) |
| Name | Description | |
|---|---|---|
| AnalyzeFromPreprocessed |
Creates an analysis from preprocessed spectra and preprocessed concentrations.
(Inherited from MultivariateRegression) | |
| AnalyzeFromPreprocessedWithoutReset |
Creates an analysis from preprocessed spectra and preprocessed concentrations.
(Overrides MultivariateRegressionAnalyzeFromPreprocessedWithoutReset(IROMatrixDouble, IROMatrixDouble, Int32)) | |
| CalculatePRESS(IROMatrixDouble, IROMatrixDouble, Int32, IReadOnlyListDouble) | Calculates PRESS values for the y loadings using the provided score matrix. | |
| CalculatePRESS(IROMatrixDouble, IROMatrixDouble, IROMatrixDouble, IROMatrixDouble, IReadOnlyListDouble, Int32, IReadOnlyListDouble) | Calculates PRESS values by repeatedly predicting y from x for 0..(numberOfFactors - 1) factors. | |
| CalculateXLeverageFromPreprocessed | Calculates the x leverage values (hat matrix diagonal) from preprocessed spectra, using the provided score matrix. | |
| CreateFromPreprocessed | Creates a PCR regression from preprocessed spectra and preprocessed target variables. | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| ExecuteAnalysis | Executes the PCR analysis from preprocessed input matrices. | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetPredictionScoreMatrix | Calculates the prediction-score matrix used to map spectra to predicted target variables. | |
| GetPredictionScores |
Calculates the prediction scores.
(Inherited from MultivariateRegression) | |
| GetPRESSFromPreprocessed |
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)) | |
| GetSpectralResiduals | Calculates spectral residuals for each spectrum as the sum of squared differences between the original spectrum and the reconstruction from the specified number of factors. | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| GetXLeverageFromPreprocessed |
Calculates the spectral leverage from preprocessed spectra.
(Inherited from MultivariateRegression) | |
| GetXLeverageFromRaw |
Calculates the spectral leverage from raw spectra.
(Inherited from MultivariateRegression) | |
| InternalGetPredictionScores |
Calculates the prediction scores (for use with the preprocessed spectra).
(Overrides MultivariateRegressionInternalGetPredictionScores(Int32, IMatrixDouble)) | |
| InternalGetXLeverageFromPreprocessed |
Calculates the spectral leverage values from the preprocessed spectra.
(Overrides MultivariateRegressionInternalGetXLeverageFromPreprocessed(IROMatrixDouble, Int32, IMatrixDouble)) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| Predict | Predicts target variables and/or computes spectral residuals for preprocessed spectra. | |
| PredictedYAndSpectralResidualsFromPreprocessed |
Calculates the predicted target variables and the spectral residuals from preprocessed spectra.
(Overrides MultivariateRegressionPredictedYAndSpectralResidualsFromPreprocessed(IROMatrixDouble, Int32, IMatrixDouble, IMatrixDouble)) | |
| PredictYFromPreprocessed |
Predicts target variables from preprocessed spectra.
(Inherited from MultivariateRegression) | |
| PredictYFromRaw |
Predicts y values from raw (unpreprocessed) spectra.
(Inherited from MultivariateRegression) | |
| Reset |
Resets the regression, so that it appears newly created.
(Overrides MultivariateRegressionReset) | |
| SetCalibrationModel |
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)) | |
| SpectralResidualsFromPreprocessed(IROMatrixDouble, Int32) |
Calculates the spectral residuals from preprocessed spectra.
(Inherited from MultivariateRegression) | |
| SpectralResidualsFromPreprocessed(IROMatrixDouble, Int32, IMatrixDouble) |
Calculates the spectral residuals from preprocessed spectra.
(Inherited from MultivariateRegression) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |