How to use data after the dimensionality reduce for classification

1 回表示 (過去 30 日間)
Kong
Kong 2020 年 3 月 13 日
コメント済み: Image Analyst 2020 年 3 月 14 日
Hello.
I have a dataset that applied dimensionality reduce like PCA.
I attached the file. The dataset is consisted of 120 x 2353 (column 2353 is label, 0~6).
How can I use these dataset for classification?

採用された回答

Image Analyst
Image Analyst 2020 年 3 月 13 日
You can take a certain number of PCs and threshold them. For example, you have class 1 if PC1 < 0.5 and PC2 > 0.8 or whatever. It would help if you could visualize your PC's via a scatterplot or image or something so you can see what really matters. Or you could get Eigenvector's PLS Toolbox which has extensive and very sophisticated tools for figuring out your question.
  2 件のコメント
Kong
Kong 2020 年 3 月 14 日
Hello.
I am wondering how to use the dataset applied dimensionality reduction.
For example,
the data 1 (70 x 90) is related to label 1,
the data 2 (70 x 90) is related to label 2,
the data 3 (70 x 90) is related to label 3,
To use the classification of these data, I will flatten each data.
the data 1 (70 x 90) is flattened to 6300, the data 2 (70 x 90) is flattened to 6300
Finally, I get the full dataset like 3 x 6300.
Is it reasonable to convert the dataset like this? I am curious that this process may lose the property of the dataset.
Image Analyst
Image Analyst 2020 年 3 月 14 日
Yes, it's what you should do. This is similar to doing PCA on an RGB image where you have three 2-D color channels. See attached demos.

サインインしてコメントする。

その他の回答 (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