Skip to content

Commit

Permalink
Fix documentation of Saving and Serving Models in README.rst (mlflow#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Kublai-Jing authored and aarondav committed May 7, 2019
1 parent eb51e79 commit b3d7030
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ MLflow artifacts and then load them again for serving. There is an example train
Score: 0.666
Model saved in run <run-id>

$ mlflow sklearn serve -r <run-id> -m model
$ mlflow pyfunc serve -r <run-id> -m model

$ curl -d '[{"x": 1}, {"x": -1}]' -H 'Content-Type: application/json' -X POST localhost:5000/invocations
$ curl -d '{"columns":[0],"index":[0,1],"data":[[1],[-1]]}' -H 'Content-Type: application/json' localhost:5000/invocations



Expand Down

0 comments on commit b3d7030

Please sign in to comment.