The following Matlab project contains the source code and Matlab examples used for pls regression or discriminant analysis, with leave one out cross validation and prediction..
Leave-one-out cross-validation for PLS regression or discriminant analysis
pls_cv = plscv(x,y,vl,'da')
input:
x (samples x descriptors) for cross-validation
y (samples x variables) for regression or
(samples x classes) for discriminant analysis.

The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.

## Project Files:

File Name | Size |
---|---|

license.txt | 1313 |

pls.m | 6759 |

plscv.m | 4293 |

plspred.m | 1994 |