https://blog.csdn.net/lyrassongs/article/details/56283002
LibSVM for Python 使用https://blog.csdn.net/shengerjianku/article/details/54237376
https://blog.csdn.net/on2way/article/details/47733861
LIBSVM下载地址:LIBSVM -- A Library for Support Vector Machines https://www.csie.ntu.edu.tw/~cjlin/libsvm/
Download LIBSVM
The current release (Version 3.23, July 2017) of LIBSVM can be obtained by downloading the zip file or tar.gz file. You can also check this github directory. Please e-mail us if you have problems to download the file.
1、下载zip file,解压。2、将libsvm-3.23文件夹复制到anaconda路径下的包目录:D:\ProgramData\Anaconda3\envs\python_jp\Lib\site-packages\libsvm-3.23。3、并将此路径加入系统环境。4、在.py工程文件中加入语句:import svmutil, svm
问题解决。
The package includes the source code of the library in C++ and Java, and a simple program for scaling training data. A README file with detailed explanation is provided. For MS Windows users, there is a sub-directory in the zip file containing binary executable files. Precompiled Java class archive is also included.
Please read the COPYRIGHT notice before using LIBSVM.