![]() |
#1
|
|||
|
|||
![]()
The problem wording is to find the runs that are not linearly separable with a hard margin SVM. The expectation is that there are some.
Using LIBSVM with C=10^6, Ein is always 0; svmpredict is always 100%. The number of support vectors varies between 6 and 12, mode and median are 8. Based on the question I was expecting some to be linearly inseparable. I increased the noise level (from .25 to 5.0). Still solved everyone, although the number of support vectors went up. I tried 1000 points instead of 100. Eout soared, but Ein didn't budge. |
#2
|
|||
|
|||
![]() Quote:
If you are running enough experiments, you should get some experiments with data that are not linearly separable with the rbf kernel. Are you calculating your f(x) correctly? |
#3
|
|||
|
|||
![]()
Regardless of the number of experiments run, libsvm returns Ein=0. I tried 10000 runs and libsvm sees a linearly separable data for all the runs. On the other hand, an Octave implementation that I wrote returns Ein ~=0 most of the time (clearly qp could not handle 100X100 matrix).
|
#4
|
|||
|
|||
![]() Quote:
Rajan |
#5
|
|||
|
|||
![]() Quote:
Note, Eout varies, gets worse with a higher N, and with greater noise (presumably the RBF kernel is fitting the noise). |
#6
|
|||
|
|||
![]()
In my case, when I plot the training data, I can verify that the data is linearly separable. But my Octave impelemtation fails to see it. Personally, I would rely on libsvm given the fact it is designed to handle large matrices and uses efficient optimization techniques.
|
#7
|
||||
|
||||
![]()
There is not necessarily an expectation one way or the other. You should report whatever the data gives you.
__________________
Where everyone thinks alike, no one thinks very much |
#8
|
|||
|
|||
![]() Quote:
![]() Quote:
|
#9
|
||||
|
||||
![]()
We have to keep everyone on their toes.
![]()
__________________
Where everyone thinks alike, no one thinks very much |
![]() |
Thread Tools | |
Display Modes | |
|
|