ocampor / notebooks

Repository that contains my research
GNU General Public License v3.0
75 stars 91 forks source link

No module named 'svmutil' #10

Closed Niroznak closed 4 years ago

Niroznak commented 4 years ago

Hi, i tried your code, and get this error "No module named 'svmutil'". everything else working perfectly, until the last section of the actual scoring. i couldn't find how to install this package. which python version you used for it? i'm using 3.6, is there another package that could replace it?

ocampor commented 4 years ago

Hey! Thanks for noticing. You can install the package https://pypi.org/project/libsvm

You might need to slightly modify the code. Try installing the package and replacing the svm import with from libsvm import svmutil.

Let me know how it goes.

Sent with GitHawk</sub

ocampor commented 4 years ago

@Niroznak I added the modification to the notebook, could you please confirm that this solves your problem?

ocampor commented 4 years ago

close due to inactivity

Niroznak commented 4 years ago

Hi, sorry for the late response, but this still doesnt work for me, cant import svmutil. i also tried import sklearn.svm.libsvm and then import from there, still no svmutil.

anyways thanks for the code and support, i`ll continue trying.