Skip to content

shun115/jubatus-tutorial-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

see http://jubat.us/tutorial.html

[Preparation]
wget http://people.csail.mit.edu/jrennie/20Newsgroups/20news-bydate.tar.gz
tar -xvzf 20news-bydate.tar.gz

$ jubaclassifier --name=tutorial
$ python tutorial.py



if you encounter following problem,

Traceback (most recent call last):
  File "tutorial.py", line 88, in <module>
    [([["message", dat]], )]
  File "build/bdist.linux-x86_64/egg/jubatus/__init__.py", line 126, in classify
  File "build/bdist.linux-x86_64/egg/jubatus/__init__.py", line 33, in __call__
  File "/usr/local/lib/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
socket.error: [Errno 99] Cannot assign requested address

try
$ sudo /sbin/sysctl -w net.ipv4.tcp_tw_recycle=1

Releases

No releases published

Packages

No packages published