File Exchange

image thumbnail

Simple Dimensionality Reduction Demonstration

version 1.1 (3.21 KB) by Jingwei Too
Application of principal component analysis (PCA) for feature reduction.


Updated 24 Oct 2020

View Version History

View License

I offer the program for feature reduction
(1) PCA

The "Main" script illustrates the example of how PCA can reduce the number of features using benchmark data-set.
In addition, I also demo how to plot the first three components for PCA.


Comments and Ratings (3)

Jingwei Too

Dear Rob Campbell,

Indeed, the PCA code is simple. However, this program is to demonstrate how to plot the principal component but not compute PCA itself.

Rob Campbell

The "program for feature reduction" just runs "NewFeat=pca(feat','NumComponents',nPC);". That's it. The demo script clears the workspace and doesn't provide any insights.


MATLAB Release Compatibility
Created with R2018a
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!

Simple Dimensionality Reduction