Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 1.74 KB

README.rst

File metadata and controls

44 lines (30 loc) · 1.74 KB

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 embedded_jubatus

Requirements

  • Python 2.7, 3.5, 3.6 or 3.7
  • Jubatus (Python Client) 1.0.2 or later
  • numpy 1.14-1.16 (1.17 or later don't support Python 2.7)
  • Jubatus needs to be installed when build from source package or repository
  • Cython needs to be installed when build from repository

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