libSVM安装与参考资料汇总

window7+vs2010+matlab a2007下安装libSVM

http://blog.sina.com.cn/s/blog_4cf8aad30100nr2k.html  这个里头有详细的安装步骤

其中,make时候,我输入的是>>make,不是>>make.m.

关于libSVM,http://www.ilovematlab.cn/thread-35262-1-1.html 下是很全面的学习资料

按上面步骤安装完后,出现问题

Error using ==> svmtrain Function "mxGetIr_700" is obsolete in file ".\compat32.cpp", line 282.(64-bit mex files using sparse matrices must be rebuilt with the "-largeArrayDims" option.  

解决办法是

 make.m文件改成如下:

mex -O -largeArrayDims -c svm.cpp
mex -O -largeArrayDims -c svm_model_matlab.c
mex -O -largeArrayDims svmtrain.c svm.obj svm_model_matlab.obj
mex -O -largeArrayDims svmpredict.c svm.obj svm_model_matlab.obj
mex -O -largeArrayDims libsvmread.c
mex -O -largeArrayDims libsvmwrite.c

参考来自:http://xzh2012.blog.163.com/blog/static/114980038201210304431842/




你可能感兴趣的:(libSVM安装与参考资料汇总)