LFD Book Forum  

Go Back   LFD Book Forum > Course Discussions > Online LFD course > Homework 8

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 09-01-2012, 01:13 AM
Andrs Andrs is offline
Join Date: Jul 2012
Posts: 47
Default libsvm and Python

I am not familiar with libsvm.
I have succeeded to install the libsvm software for Python/windows. However I have not found any good documentation about the functions supported by Libsvm in Python. How to call the different functions, parameters, examples etc. Has anybody found a good tutorial that provides information about libsvm/Python??
I would like to check some very basic question to see if i getting it right.
It seems that there are changes in the Python interface.
I have seen in the Web some old examples using the following import statement in Python. But I cannot use this import statement (Python 2.73, libsvm 3.12).
PHP Code:
 from libsvm import *

Traceback (most recent call last):
File "<pyshell#14>"line 1in <module>
from libsvm import *
ImportErrorNo module named libsvm 
Instead I am able to use this import statements:
PHP Code:
>>>from svm import *
from svmutil import 
It seems that the package "svmutil" contains the user interface functions.
Any help about finding more info is really appreciated
Reply With Quote

libsvm, python

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -7. The time now is 06:44 AM.

Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
The contents of this forum are to be used ONLY by readers of the Learning From Data book by Yaser S. Abu-Mostafa, Malik Magdon-Ismail, and Hsuan-Tien Lin, and participants in the Learning From Data MOOC by Yaser S. Abu-Mostafa. No part of these contents is to be communicated or made accessible to ANY other person or entity.