PLS NIPALS C++

Donwload:

This library provides a C++ class to execute the Partial Least Squares (PLS) NIPALS method for a scalar response variable for both dimension reduction and regression. It provides a class composed of methods to build, load, and store a PLS model, project feature vectors onto the PLS model and retrieve its low dimensional representation.

PLS handles data in high dimensional feature spaces and can be employed as a dimensionality reduction technique. PLS is a powerful technique that provides dimensionality reduction for hundreds of thousands of variables, considering the response variable in the process. The latter point is in contrast to traditional dimensionality reduction techniques such as Principal Component Analysis (PCA).

The implementation of the NIPALS algorithm provided in this library is a translation from the MATLAB version of the NIPALS algorithm written by Dr. Hervé Abdi from The University of Texas at Dallas. This code requires OpenCV version 1.0 or superior.

If you find any bugs or problems in this software or you have suggestions on how to improve or make it more user friendly, please send an e-mail to williamrobschwartz@gmail.com.

This implementation has been used as part of the human detector approach developed by Schwartz et al. [4]. We kindly ask you to cite that reference upon the use of this code with the following bibtex entry.

This code works either on Windows or on Linux. For Windows, a project for Visual Studio 2005 is provided. A Makefile can be used to compile all files and generate an executable main containing examples of usage. To incorporate this library into your project, copy every .cpp and .h file to your directory and compile them with your code. Then call the methods provided by the class Model. A Matlab implementation for PLS written by Dr. Hervé Abdi, from the University of Texas at Dallas, can be found here.

Documentation

The members of the C++ classes and examples regarding how to execute the PLS NIPALS are provided in the documentation manual [pdf].

References

You should cite the following paper you use this software in your work.

William Robson Schwartz; A Kembhavi; D Harwood; L S Davis: Human Detection Using Partial Least Squares Analysis. In: IEEE International Conference on Computer Vision (ICCV), pp. 24-31, 2009, (oral presentation). (Type: Inproceedings | Links | BibTeX)

Donwload: