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.
pip install embedded_jubatus
- 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
- The following methods are currently unavailable:
get_status
,get_proxy_status
,do_mix
,get_name
,set_name
andget_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 thesave
method. If you need to save the model into a different location, callsave_bytes
method, which returns the model data as a binary, then save the returned bytes to the preferred location. The same rule applies toload
/load_bytes
methods.
LGPL 2.1