How to using PCA or LDA to classify data (wine dataset)?

6 vues (au cours des 30 derniers jours)
arini
arini le 25 Juin 2013
Hello everyone, I really need your advice or help about using PCA or LDA in matlab to classify data (in this case is wine dataset) which downloaded from UCI repository. Could anyone show me the script, or at least the similiar one? thanks..

Réponse acceptée

Rob Campbell
Rob Campbell le 25 Juin 2013
PCA is used for dimensionality reduction and to help you visualise higher dimensional data. On its own it is not a classification tool. If you have access to the Statistics Toolbox then you can use the "classify" function which runs discriminant analyses. I suggest you work through the example in the help and then see if you can apply it to your data: http://www.mathworks.co.uk/help/stats/classify.html
  1 commentaire
arini
arini le 25 Juin 2013
thank you for your explanation..it's so helpful

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Dimensionality Reduction and Feature Extraction 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