Thread: Libsvm
View Single Post
  #14  
Old 08-30-2012, 03:05 PM
invis invis is offline
Senior Member
 
Join Date: Jul 2012
Posts: 50
Default Re: Libsvm

Pleasy, some one who understand how this libsvm works tell us how to go through week 8 problems.

I tryed to install libsvm in Octave, thats what I have:
Quote:
>> cd C:\Octave\libsvm-3.12\matlab

>> make
warning: unable to find mkoctfile in expected location: `C:\Octave\OCTAVE~2.2\bin\mkoctfile-3.6.2'
warning: mkoctfile exited with failure status
warning: unable to find mkoctfile in expected location: `C:\Octave\OCTAVE~2.2\bin\mkoctfile-3.6.2'
warning: mkoctfile exited with failure status
warning: unable to find mkoctfile in expected location: `C:\Octave\OCTAVE~2.2\bin\mkoctfile-3.6.2'
warning: mkoctfile exited with failure status
warning: unable to find mkoctfile in expected location: `C:\Octave\OCTAVE~2.2\bin\mkoctfile-3.6.2'
warning: mkoctfile exited with failure status

>> mex -setup
mkoctfile: unrecognized argument -setupwarning: unable to find mkoctfile in expected location: `C:\Octave\OCTAVE~2.2\bin\mkoctfile-3.6.2'
warning: mkoctfile exited with failure status
Then using *.exe files:
Quote:
C:\Octave\libsvm-3.12\windows>svm-train -t 1 -d 2 -g 1 -r 1 -v 10 -c 0.01 features.train
actually dont know why the kernel is polynomial:
1 -- polynomial: (gamma*u'*v + coef0)^degree
but didnt find (1+ x_n^T x_m)^Q in list

Thats what I have in last iteration:
Quote:
optimization finished, #iter = 579
nu = 0.936893
obj = -11.580000, rho = -1.000000
nSV = 1158, nBSV = 1158
Total nSV = 6386
Cross Validation Accuracy = 16.3764%
And features.model file didnt appears.

Actually I am prefer using my code from week7, but with upper bound C and some others. But this 7291 X 7291 matrix...
Reply With Quote