フィルターのクリア

Principle Component Analysis

2 ビュー (過去 30 日間)
Tim Micallef
Tim Micallef 2011 年 3 月 28 日
I'm performing PCA on a sample from my dataset (using princomp) containing 5 attributes and 20,000 values for each attribute. I then want to classify the remainder of the dataset having taken out the least important attributes. Using PCA is it possible, using the ouputs that princomp provides, to remove one or two of the attributes that are less important for classification purposes? Or does PCA not even provide this information?

採用された回答

Andrew Newell
Andrew Newell 2011 年 3 月 28 日
If your data are in the matrix X and ndim is the number of attributes you want to retain, then you can use
[residuals,reconstructed] = pcares(X,ndim);
then reconstructed is what you want.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDimensionality Reduction and Feature Extraction についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by