Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement SAVE / LOAD query #5

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

Implement SAVE / LOAD query #5

wants to merge 2 commits into from

Conversation

kmaehashi
Copy link
Member

This PR implements SAVE / LOAD query to JubaQL system.

The syntax is as follows:

SAVE MODEL model_name USING path WITH ID = id
LOAD MODEL model_name USING path WITH ID = id

For example, in development mode,

SAVE MODEL test USING "file:///home/data/models" WITH ID = test001
LOAD MODEL test USING "file:///home/data/models" WITH ID = test001

will save a model file to / load a model file from /home/data/models/test001/0.jubatus.
You need to use hdfs:/// instead of file:/// for production mode.

Notes:

  • This patch updates the required Jubatus client library version to 0.8.0 to use new save RPC that returns a path to the model file.
  • This patch depends on (WIP) Improve saveModel / loadModel jubatus-on-yarn#8.
  • Documentation needs to be added once this patch got merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants