linux下安装libsvm

install libsvm with python interface
1.download libsvm
http://www.csie.ntu.edu.tw/~cjlin/libsvm/
2.tar zvxf ***.tar.gz
3.cd lib*
4.make
5.sudo sudo cp *.py /usr/lib/python2.7/dist-packages/
6.cd ..
7.sudo cp libsvm.so.2 /usr/lib/python2.7/


test install successfully or not
1.import svm
2.import svmutil


If no error come out, install successfully.

你可能感兴趣的:(Linux,MachineLearning)