Skip to content

Commit

Permalink
Update R tutorial code example to run project at correct path (mlflow…
Browse files Browse the repository at this point in the history
…#1070)

Bugfix for R tutorial docs: run project from correct filesystem path
  • Loading branch information
smurching committed Apr 1, 2019
1 parent 57220b3 commit f37aa83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,13 @@ First, train a linear regression model that takes two hyperparameters: ``alpha``

.. code-block:: R
mlflow_run(uri = "tutorial", entry_point = "train.R")
mlflow_run(uri = "examples/r_wine", entry_point = "train.R")
Try out some other values for ``alpha`` and ``lambda`` by passing them as arguments to ``train.R``:

.. code-block:: R
mlflow_run(uri = "", entry_point = "train.R", param_list = list(alpha = 0.1, lambda = 0.5))
mlflow_run(uri = "examples/r_wine", entry_point = "train.R", param_list = list(alpha = 0.1, lambda = 0.5))
Each time you run the example, MLflow logs information about your experiment runs in the directory ``mlruns``.

Expand Down

0 comments on commit f37aa83

Please sign in to comment.