Why is my Linear Discriminant Analysis ineffective?

4 ビュー (過去 30 日間)
Po-Chen Liu
Po-Chen Liu 2020 年 4 月 20 日
編集済み: Aditya Patil 2020 年 8 月 21 日
I have 378 samples with 513 features each, they're the power spectrum densities of the frequencies calculated using pwelch() for a 1 sec window of motor imagery. I am trying to classify Right hand from Left hand using Linear Discriminant Analysis to reduce the 513 features down to 2.
My results are very poor, barely no separation distinguishing left and right. I am trying to replicate the methodology from a paper:
What am I doing wrong?
What could lead to my data looking like this? I have attached the paper detailing the approach and what I am trying to achieve, our data is essentially the same except I didn't take it with overlapping windows.

採用された回答

Aditya Patil
Aditya Patil 2020 年 8 月 21 日
編集済み: Aditya Patil 2020 年 8 月 21 日
I understand that you are trying to use LDA for dimensionality reduction. You can use the fitcdiscr function to apply LDA on a dataset. This will avoid any bugs/issues in manually coding it, or alternately, you can use it as a reference to find issues in your code. Also, you can use any of the other dimensionality reduction techniques available in MATLAB.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDiscriminant Analysis についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by