NMath Reference Guide

## PLS |

The PLS2 type exposes the following members.

Methods

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

Calculate(DataFrame, DataFrame, Int32) | Calculates the partial least squares fit. | |

Calculate(DoubleMatrix, DoubleMatrix, Int32) | Calculates the partial least squares fit. | |

Clone | Creates a deep copy of this PLS2. | |

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) | Predict the responses for a set of predictor values. | |

Predict(DoubleVector) | Calculates the predicted value of the response variable for 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. |

See Also