OSX上PyBrain上的libsvm用于SVM [英] libsvm on PyBrain on OSX for an SVM

查看:69
本文介绍了OSX上PyBrain上的libsvm用于SVM的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

几乎整天以来,我一直在尝试在PyBrain上制作SVM,但是它显示找不到LIBSVM安装.请确保svm.py和svmc.*在PYTHONPATH中!"

我有OSX 10.7.5和python 2.7.2 另外,我去下载了libsvm,然后按照制作Make的说明进行操作.基本上将其解压缩,并在主目录中进行一次创建,并在python文件夹中进行一次创建.然后我将其移至python库文件夹.

还是不好. 有人可以帮忙吗?有人用PyBrain做过SVM吗?我什至无法运行自己的示例.

谢谢

解决方案

LibSVM不再支持cross_validation.

https://github.com/pybrain/pybrain/issues/97

For almost all day now I have been trying to make an SVM on PyBrain but it gives "Cannot find LIBSVM installation. Make sure svm.py and svmc.* are in the PYTHONPATH!"

I have OSX 10.7.5 and python 2.7.2 Separately, I went and downloaded libsvm and I followed the instruction of doing the Make. Basically unzipped it, and did the make one time in the main dir and one time in the python folder. Then I moved it to the python library folder.

Still no good. Can anyone help? Has anyone done an SVM with PyBrain? I cannot even get their own example to run.

Thanks

解决方案

LibSVM doesn't support cross_validation any more.

https://github.com/pybrain/pybrain/issues/97

这篇关于OSX上PyBrain上的libsvm用于SVM的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆