NMath Reference Guide

## IPLS |

Interface for performing a Partial Least Squares (PLS) calculation.

Inheritance Hierarchy

Syntax

The IPLS1Calc type exposes the following members.

Constructors

Properties

Name | Description | |
---|---|---|

IsGood | Indicates whether the most recent calculation was successful or not. | |

Loadings | Gets a matrix whow columns are the loading vectors. | |

Message | Gets any message that may have been generated by the algorithm. For example, if the calculation is unsuccessful, the message should indicate the reason. | |

Scores | Gets a matrix whow columns are the score vectors. |

Methods

Name | Description | |
---|---|---|

Calculate | Performs a PLS1 calculation on the given data. | |

Clone | A deep copy of self. | |

HotellingsT2 | 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. | |

Predict(DoubleMatrix) | Use the calculated model to predict the response values, ResponseVector , from the given set of predictor variables. | |

Predict(DoubleVector) | Use the calculated model to predict the response value, y, from the given value of the predictor variable. | |

QResiduals | 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. |

Remarks

This is a PLS1 algorithm.

See Also