1.
PIP安装步骤,详见参考[1]。
说明:
我的电脑此前已经安装有Anaconda2(32bit),因而,pip默认的安装地址并非帖子中所列的C:\Python27\Scripts,而是D:\Anaconda2\Lib\site-packages。
因而,对我来说,我需要导航至这个目录,进行pip安装结果的验证,
2.
LibSVM的安装步骤请参考[2]:
3.
LibSVM在Python中的安装步骤,参考链接详见[3]。
4.
关于在Python中调用LibSVM的方法,请参考[4].
5.
关于程序中的预测函数svm_predict()中的标签疑惑问题(困扰我一天有余。。。),参考链接[5].
Reference:
[1]
https://dev.to/el_joft/installing-pip-on-windows
[2]
https://stackoverflow.com/questions/12877167/how-do-i-install-libsvm-for-python-under-windows-7/32358275#32358275
[3]
https://www.jianshu.com/p/c3573ddba793
[4]
http://www.cnblogs.com/Dzhouqi/p/3653823.html
[5]
http://www.cnblogs.com/xiaodi914/p/5493646.html
PIP安装步骤,详见参考[1]。
说明:
我的电脑此前已经安装有Anaconda2(32bit),因而,pip默认的安装地址并非帖子中所列的C:\Python27\Scripts,而是D:\Anaconda2\Lib\site-packages。
因而,对我来说,我需要导航至这个目录,进行pip安装结果的验证,
2.
LibSVM的安装步骤请参考[2]:
Steps:
1. Navigate to http://www.lfd.uci.edu/~gohlke/pythonlibs/#libsvm
2. Download the .whl file of libsvm corresponding to your OS.
3. Open command prompt and navigate to that folder containing the downloaded .whl file.
4. Type the following command in command prompt-
pip install libsvm-3.22-cp27-cp27m-win32.whl
1. Navigate to http://www.lfd.uci.edu/~gohlke/pythonlibs/#libsvm
2. Download the .whl file of libsvm corresponding to your OS.
3. Open command prompt and navigate to that folder containing the downloaded .whl file.
4. Type the following command in command prompt-
pip install libsvm-3.22-cp27-cp27m-win32.whl
NOTE: Type name of your .whl file after pip install
安装成功
3.
LibSVM在Python中的安装步骤,参考链接详见[3]。
4.
关于在Python中调用LibSVM的方法,请参考[4].
5.
关于程序中的预测函数svm_predict()中的标签疑惑问题(困扰我一天有余。。。),参考链接[5].
Reference:
[1]
https://dev.to/el_joft/installing-pip-on-windows
[2]
https://stackoverflow.com/questions/12877167/how-do-i-install-libsvm-for-python-under-windows-7/32358275#32358275
[3]
https://www.jianshu.com/p/c3573ddba793
[4]
http://www.cnblogs.com/Dzhouqi/p/3653823.html
[5]
http://www.cnblogs.com/xiaodi914/p/5493646.html
没有评论:
发表评论