Is there an LDA method that matches the format "D_t= W_Tc^T * E_t + w_0"
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Where W_Tc^T are the weights, E_t the signal/data and w_0 the offset. With D_t < 0 means E_t is class 1, and D_t > 0 means E_t is class 2.
Trying to replicate some work on Linear Discriminant Analysis but the current matlab classifier gives a discriminant for each class, with the higest discriminant being the selected class. I need it formatted as a threshold. Thanks,
0 Kommentare
Antworten (1)
Ilya
am 29 Nov. 2012
Sounds like you want a linear regression model:
If you have an older version of MATLAB without the LinearModel class, you can use the regress function:
If you use an LDA implementation from the Statistics Toolbox, it predicts class labels and class posterior probabilities. You can threshold on the predicted posterior probability. Of course, that threshold should not be zero. By default it is 0.5.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Statistics and Machine Learning Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!