View Single Post
  #22  
Old 05-26-2013, 04:29 PM
dlammerts dlammerts is offline
Junior Member
 
Join Date: Apr 2013
Location: San Mateo, CA
Posts: 6
Default Re: on the right track?

Quote:
Originally Posted by Sendai View Post
I thought it would be nice to have a way to check if we're on the right track with problems 2-5 without giving away the answers. I ran SVM (with the polynomial kernel) for a couple of cases and pasted the results below. Are others getting the same numbers?

0 vs 7 classifier, C=0.01, Q=2
number of support vectors = 861
E_{in} = 0.071778
E_{out} = 0.063241

2 vs 8 classifier, C=0.1, Q=3
number of support vectors = 721
E_{in} = 0.234878
E_{out} = 0.291209
Great idea. Got (almost) identical results using svm from the e1071 R plugin:

SVM model for 0-vs-7 classification with C = 0.01 and Q = 2: SVs = 861 Ein = 0.07177814 Eout = 0.06324111
SVM model for 2-vs-8 classification with C = 0.1 and Q = 3: SVs = 722 Ein = 0.2348782 Eout = 0.2912088
Reply With Quote