Thetype exposes the following members.
|SparsePls(SparsePLSMode, Int32, Int32, Int32, Double)|
Constructs a SparsePls object from the given parameters.
|SparsePls(DoubleMatrix, DoubleMatrix, Int32, Int32, Int32, SparsePLSMode, Int32, Double)|
Constructs a SparsePls object from the given parameters and performs the sparse PLS calculation on the given data. The data is first centered and scaled by standard deviation.
Matrix of scaled, centered X values.
Matrix of scaled centered Y values.
Matrix of coefficients used internally for prediction.
Coefficient matrix that may be used for prediction.(Overrides IPLS2CalcCoefficients.)
Indicates whether the most recent calculation was successful. For SparsePls a return value of false most likely indicates that the iterative algorithm did not converge before reaching the maximum number of iterations. Check the Message property for further information in this case.(Overrides IPLS2CalcIsGood.)
Number of iterations of the algorthm for each component
Get and sets the number of X variables kept in the model for each component.
Get and sets the number of Y variables kept in the model for each component.
Gets the max iterations performed by the iterative algorithm.
Gets any message that may have been generated by the algorithm. For example, if the calculation is unsuccessful, the message should indicate the reason.(Overrides IPLS2CalcMessage.)
Gets and sets the PLS mode.
Gets the number components.
Gets the predictor variable loadings. This is an alias for XLoadings.(Overrides IPLS2CalcPredictorLoadings.)
Gets the predictor variable scores. This is an alias for XVariates.(Overrides IPLS2CalcPredictorScores.)
Gets the tolerance used for convergence determination of the iterative algorithm.
Gets the matrix of X loadings.
Gets the matrix of X variates or scores.
Gets the matrix of Y loadings.
Gets the matrix of Y variates or scores.
Calculates the sparse PLS fit for the given data and number of components. X and Y values are first centered and scaled by their standard deviations.(Overrides IPLS2CalcCalculate(DoubleMatrix, DoubleMatrix, Int32).)
Creates a deep copy of self.(Overrides IPLS2CalcClone.)
Calculaties Hotelling's T2 statistic for each sample. T2 can be viewed as the squared distance from a samples projection into the subspace to the centroid of the subspace, or, more simply, the variation of the sample point within the model.(Inherited from IPLS2Calc.)
Uses the calculated model to predict the observed values from a matrix of predictor values.(Overrides IPLS2CalcPredict(DoubleMatrix).)
Used the calculated model to predict the observed value from the given predictor vector.(Overrides IPLS2CalcPredict(DoubleVector).)
Calculates the Q residuals for in sample in the model. The Q residual for a given sample is the distance between the sample and its projection in the subspace of the model.(Inherited from IPLS2Calc.)