StudentOfScience
StudentOfScience

Reputation: 809

libsvm on PyBrain on OSX for an SVM

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

Upvotes: 1

Views: 989

Answers (2)

bjoern
bjoern

Reputation: 1

use libsvm version 2.91 -> python_old in your exportpath https://github.com/cjlin1/libsvm/releases

Upvotes: 0

Minux1969
Minux1969

Reputation: 11

LibSVM doesn't support cross_validation any more.

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

Upvotes: 1

Related Questions