File Exchange

image thumbnail

version (564 KB) by Hongdong Li
libPLS: An Integrated Library of Partial Least Squares Regression and Discriminant Analysis


Updated 13 Nov 2014

View Version History

View License

libPLS is an integrated library for PLS and PLS-DA modeling, containing functions for data pretreatment, linear modeling, cross validation, outlier detection, a spectrum of variable selection methods etc. It features model population analysis for variable selection, such as competitive adaptive reweighted sampling (CARS), subwindow permutation analysis (SPA), random frog (RF), margin influence analysis (MIA) etc. PLS and PLS-DA are widely used methods in chemometrics, metabolomics and so on.

The most updated version is available at:

Cite As

Hongdong Li (2021). (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (4)

元 张

Zhaoyu Cui

Hongdong Li

@Petar: hello, thanks a lot. They give the same results, right?


Noticed an error in calculation of vip:


should be


MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!