ModuleNotFoundError: No module named 'libsvm'

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

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值