svm-struct-matlab
svm-struct-matlab copied to clipboard
Request to update comments svm_struct_learn_mex.c
Hi, I'm working in Linux Fedora 18 with MATLAB R2011b and GCC 4.6. When I tried to compile the code I got this error:
svm_struct_learn_mex.c: In function ‘mexFunction’: svm_struct_learn_mex.c:108:3: error: expected expression before ‘/’ token svm_struct_learn_mex.c:188:3: error: expected expression before ‘/’ token
mex: compile of ' "svm_struct_learn_mex.c"' failed.
I replaced the comment in the line 108 and 188 with /* .... */
Currently, I can compile the mex-files succesfully.
which options should I use for implementing another loss function ( hinge loss) instead of default zero-one loss. learning options. -l [0..] -> Loss function to use. 0: zero/one loss ?: see below in application specific options (default 0)