Why is my Linear Discriminant Analysis ineffective?
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Po-Chen Liu
il 20 Apr 2020
Modificato: Aditya Patil
il 21 Ago 2020
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.
0 Commenti
Risposta accettata
Aditya Patil
il 21 Ago 2020
Modificato: Aditya Patil
il 21 Ago 2020
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 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Discriminant Analysis in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!