Is there an LDA method that matches the format "D_t= W_Tc^T * E_t + w_0"

1 vue (au cours des 30 derniers jours)
John Doe
John Doe le 29 Nov 2012
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,

Réponses (1)

Ilya
Ilya le 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.

Catégories

En savoir plus sur Statistics and Machine Learning Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by