LFD Book Forum  

Go Back   LFD Book Forum > Course Discussions > Online LFD course > Homework 8

Reply
 
Thread Tools Display Modes
  #1  
Old 06-09-2013, 11:41 AM
bargava bargava is offline
Junior Member
 
Join Date: Apr 2013
Posts: 8
Default 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?
Reply With Quote
  #2  
Old 06-09-2013, 01:26 PM
yaser's Avatar
yaser yaser is offline
Caltech
 
Join Date: Aug 2009
Location: Pasadena, California, USA
Posts: 1,477
Default 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.
__________________
Where everyone thinks alike, no one thinks very much
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 08:15 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.