/embedded-jubatus-python

Primary LanguagePythonGNU Lesser General Public License v2.1LGPL-2.1

Travis PyPi

embedded-jubatus-python

embedded-jubatus-python is a Python bridge to call Jubatus Core C++ library.

The interface of embedded-jubatus-python is the same as that of RPC client classes. See the API Reference for details.

Install

pip install Cython
pip install embedded_jubatus

Requirements

  • Python 2.6, 2.7, 3.3, 3.4 or 3.5.
  • Jubatus needs to be installed.

Limitations

  • The following methods are currently unavailable: get_status, get_proxy_status, do_mix, get_name, set_name and get_client.
  • save method saves the model file as /tmp/127.0.0.1_0_${type}_${id}.jubatus, where ${type} is a name of the service (classifier, recommender, etc.) and ${id} is the value specified as an argument to the save method. If you need to save the model into a different location, call save_bytes method, which returns the model data as a binary, then save the returned bytes to the preferred location. The same rule applies to load / load_bytes methods.

License

LGPL 2.1