Skip to content

Commit

Permalink
small documentation change on tracking page (mlflow#1376)
Browse files Browse the repository at this point in the history
  • Loading branch information
mparkhe authored and aarondav committed Jun 1, 2019
1 parent 97c9b9d commit 3d5fbfe
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/source/tracking.rst
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,11 @@ environment variable. Alternatively, you can use the experiment ID instead, via

.. code-block:: bash
mlflow experiments create fraud-detection
# Set the experiment via environment variables
export MLFLOW_EXPERIMENT_NAME=fraud-detection
mlflow experiments create --experiment-name fraud-detection
.. code-block:: py
# Launch a run. The experiment is inferred from the MLFLOW_EXPERIMENT_NAME environment
Expand All @@ -193,8 +194,8 @@ add tags to a run, and more.
client = MlflowClient()
experiments = client.list_experiments() # returns a list of mlflow.entities.Experiment
run = client.create_run(experiments[0].experiment_id) # returns mlflow.entities.Run
client.log_param(run.info.run_uuid, "hello", "world")
client.set_terminated(run.info.run_uuid)
client.log_param(run.info.run_id, "hello", "world")
client.set_terminated(run.info.run_id)
.. _tracking_ui:

Expand All @@ -205,7 +206,7 @@ The :py:func:`mlflow.tracking.MlflowClient.set_tag` function lets you add custom

.. code-block:: py
client.set_tag(run.info.run_uuid, "tag_key", "tag_value")
client.set_tag(run.info.run_id, "tag_key", "tag_value")
.. important:: Do not use the prefix ``mlflow`` for a tag. This prefix is reserved for use by MLflow.

Expand Down

0 comments on commit 3d5fbfe

Please sign in to comment.