Skip to content

Commit

Permalink
Clarify distinction between save_model and log_model in docs (mlflow#…
Browse files Browse the repository at this point in the history
  • Loading branch information
dbczumar committed Jun 30, 2019
1 parent 61cb674 commit e205be3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions mlflow/pyfunc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,8 @@ def save_model(path, loader_module=None, data_path=None, code_path=None, conda_e
save_model(path, loader_module=None, data_path=None, code_path=None, conda_env=None,\
mlflow_model=Model(), python_model=None, artifacts=None)
Create a custom Pyfunc model, incorporating custom inference logic and data dependencies.
Save a Pyfunc model with custom inference logic and optional data dependencies to a path on the
local filesystem.
For information about the workflows that this method supports, please see :ref:`"workflows for
creating custom pyfunc models" <pyfunc-create-custom-workflows>` and
Expand Down Expand Up @@ -579,7 +580,8 @@ def save_model(path, loader_module=None, data_path=None, code_path=None, conda_e
def log_model(artifact_path, loader_module=None, data_path=None, code_path=None, conda_env=None,
python_model=None, artifacts=None):
"""
Create a custom Pyfunc model, incorporating custom inference logic and data dependencies.
Log a Pyfunc model with custom inference logic and optional data dependencies as an MLflow
artifact for the current run.
For information about the workflows that this method supports, see :ref:`Workflows for
creating custom pyfunc models <pyfunc-create-custom-workflows>` and
Expand Down

0 comments on commit e205be3

Please sign in to comment.