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

15 ビュー (過去 30 日間)
arini 2013 年 6 月 25 日
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..


Rob Campbell
Rob Campbell 2013 年 6 月 25 日
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:
  1 件のコメント
arini 2013 年 6 月 25 日
thank you for your's so helpful


その他の回答 (0 件)


Help Center および File ExchangeDimensionality Reduction and Feature Extraction についてさらに検索


Community Treasure Hunt

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

Start Hunting!

Translated by