フィルターのクリア

I need a code for doing PCA.

3 ビュー (過去 30 日間)
Rashidul Alim Anik
Rashidul Alim Anik 2022 年 3 月 19 日
回答済み: the cyclist 2022 年 3 月 19 日
i need to see which data/column is hampering my predicted accuracy.
the xls file is given below. can anyone help me for proper code or just saying that particular data/column hampering my accuracy?

回答 (1 件)

the cyclist
the cyclist 2022 年 3 月 19 日
Please take a look at my accepted answer to another question about PCA. It is effectively a tutorial on using PCA in MATLAB.
You don't explain much here, but I'm guessing the last column of your data is the number you are trying to predict, using the other columns as predictors?
Doing a PCA on the first 39 columns does look like a good idea. The first two principal components capture over 99% of the variation.
Then you could do a logistic regression (perhaps using fitglm) to predict the last column from the first two principal components.

カテゴリ

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