![]() |
Q13 - on using LIBSVM : C parameter?
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? |
Re: Q14 - on using LIBSVM : C parameter?
Quote:
From Prof's lecture, I recall that the high value of C ensures that slackness is penalized heavily, so as to achieve hard margin. |
Re: Q14 - on using LIBSVM : C parameter?
Quote:
Edit: I seem to recall that 1000 was considered a good rule of thumb for a hard margin. But I found from practice that in this question it was still insufficient. |
Re: Q14 - on using LIBSVM : C parameter?
Good catch, thanks! I had the same problem.
One might assume (wrongly as it turns out) that it does hard margin svm by default but of course it does soft margin by default as that is probably more useful in practice. Also I guess, if you choose enough of a large C as you suggest, SVM should have no trouble to deal with such noiseless data, similar to the example we had in class. |
All times are GMT -7. The time now is 10:48 AM. |
Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
The contents of this forum are to be used ONLY by readers of the Learning From Data book by Yaser S. Abu-Mostafa, Malik Magdon-Ismail, and Hsuan-Tien Lin, and participants in the Learning From Data MOOC by Yaser S. Abu-Mostafa. No part of these contents is to be communicated or made accessible to ANY other person or entity.