How to classify PCA features using SVM?

1 vue (au cours des 30 derniers jours)
Vinay Kumar
Vinay Kumar le 19 Déc 2014
Modifié(e) : Daniel Diaz le 7 Août 2017
I have done face recognition using PCA ( It was recognizing the face by using the min euclidean distance between the train and the query image got an accuracy of around 85%). Now i want do that using SVM. Actually SVM shows 100% result on training images but its not working properly on test samples. I am not getting where the problem is.. Help me in solving this problem..

Réponse acceptée

Daniel Diaz
Daniel Diaz le 7 Août 2017
Modifié(e) : Daniel Diaz le 7 Août 2017
One problem is related to the overfitting. To avoid this, you should test with different level of the Soft-margin. In this guide you are going to find how to improve the overfitting: http://www.csie.ntu.edu.tw/~cjlin/papers/guide/guide.pdf
After you study the guide, if you need more help, you can go to this series of videos where you can learn how to perform SVM, then how to select the best K-Fold.
The videos are made in Mandarin but you could learn from them just following the process.
1. How to use SVM: https://www.youtube.com/watch?v=4GB5HVw0CuM
2.Determine the Best Parameters via K-fold Crossvalidation https://www.youtube.com/watch?v=MyywXRLuABg

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