Effacer les filtres
Effacer les filtres

How to implement Linear Discriminant Analysis in matlab for a multi class data?

11 vues (au cours des 30 derniers jours)
Kanak Jain
Kanak Jain le 3 Août 2018
I have been working on a dataset with 5 features and 3 classes. I have divided the dataset into training and testing and I want to apply LDA to train the data and later test it using LDA. Can anyone help me out with the code?

Réponses (1)

Star Strider
Star Strider le 3 Août 2018
Use the classify (link) function to do linear discriminant analysis in MATLAB. It is part of the Statistics and Machine Learning Toolbox.

Community Treasure Hunt

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

Start Hunting!

Translated by