View Single Post
Old 06-09-2013, 11:58 AM
sptripathi sptripathi is offline
Junior Member
Join Date: Apr 2013
Posts: 8
Default Re: Q14 - on using LIBSVM : C parameter?

Originally Posted by bargava View Post
I am trying to use LIBSVM to do this. And for using this, a value for C should be specified.

Should C be assigned an extremely large arbitrary value (say: 1e+10)? Would that be similar to implementing a hard margin SVM?
I used a high value for C, otherwise it regularizes. Observed that in libsvm case it regularized so much that E_in was never zero. So I suppressed regularization by choosing a high value of C.

From Prof's lecture, I recall that the high value of C ensures that slackness is penalized heavily, so as to achieve hard margin.
Reply With Quote