Is there an LDA method that matches the format "D_t= W_Tc^T * E_t + w_0"
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Ilya
el 29 de Nov. de 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 comentarios
Ver también
Categorías
Más información sobre Statistics and Machine Learning Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!