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 CenterFile Exchange에서 Dimensionality 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