LFD Book Forum

LFD Book Forum (http://book.caltech.edu/bookforum/index.php)
-   Homework 8 (http://book.caltech.edu/bookforum/forumdisplay.php?f=137)
-   -   Hard margin on using LIBSVM : C parameter? (http://book.caltech.edu/bookforum/showthread.php?t=4336)

bargava 06-09-2013 10:41 AM

Hard margin on using LIBSVM : C parameter?
I am trying to use LIBSVM to do hard margin SVM. 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?

yaser 06-09-2013 12:26 PM

Re: Hard margin on using LIBSVM : C parameter?
A large value of C indeed would simulate hard-margin SVM, and you can verify that it did by checking that none of the SV's in the solution achieved the value C.

All times are GMT -7. The time now is 11:31 PM.

Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2021, 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.