EMPCA
EMPCA calculates principal components using an expectation maximization algorithm to find each component in the residual matrix after substracting the previously converged principal components.
EMPCA_W accepts a weight matrix to use in the weighted EM algorithm.
EMPCA_NAN accepts a data matrix with nans to use in the missing data EM algorithm.
An informative message reports the number of EM iterations computed for each component, revealing if the convergence was achieved under a certain tolerance, or if the iterations were stopped after a maximum number.
This implementation is especially useful to handle large matrices, and runs fast on gpuArray matrices.
The algorithm is described in
Bailey, Stephen. "Principal Component Analysis with Noisy and/or Missing Data." Publications of the Astronomical Society of the Pacific 124.919 (2012): 1015-1023.
http://arxiv.org/pdf/1208.4122v2.pdf
Cite As
Vicente Parot (2023). EMPCA (https://www.mathworks.com/matlabcentral/fileexchange/45353-empca), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- AI, Data Science, and Statistics > Statistics and Machine Learning Toolbox > Dimensionality Reduction and Feature Extraction >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.6.0.0 | Added missing data and weights handling, and a test script with a syntax example. |
||
1.5.0.0 | Minor changes |
||
1.4.0.0 | Updated description |
||
1.3.0.0 | Updated documentation. |
||
1.2.0.0 | Improved class support on CPU/GPU and convergence criterion |