Skip to content

Instantly share code, notes, and snippets.

Created December 1, 2011 17:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/1418342 to your computer and use it in GitHub Desktop.
Save anonymous/1418342 to your computer and use it in GitHub Desktop.
Shogun Problem
using:
LinuxMint LMDE
shogun x86_64/v0.10.0_r5175_2010-12-07_02:25_5175
and Python 2.6.7 (r267:88850, Jul 10 2011, 08:11:54)
[GCC 4.6.1] on linux2
kernel 3.0.0-1-amd64
x86_64 GNU/Linux
on:
AMD Model: 15.107.2 "AMD Athlon(tm) 64 X2 Dual Core Processor 4800+"
2GB RAM
Tried example code at:
http://www.fml.tuebingen.mpg.de/raetsch/suppl/shogun/PythonExamples
SVM Classification:
saved as shogun_svm_clas.py
The results:
$ python -i shogun_svm_clas.py
Traceback (most recent call last):
File "shogun_svm_clas.py", line 10, in <module>
sg.send_command('loglevel ALL')
AttributeError: 'module' object has no attribute 'send_command'
>>>
>>> help(sg)
Help on module sg:
NAME
sg
FILE
/usr/lib/pymodules/python2.6/sg.so
FUNCTIONS
sg(...)
Shogun.
>>> dir(sg)
['__doc__', '__file__', '__name__', '__package__', 'sg']
>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment