Skip to content

Commit a02d198

Browse files
authored
Update how-to-use-mlflow-cli-runs.md
1 parent a7f6be6 commit a02d198

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

articles/machine-learning/how-to-use-mlflow-cli-runs.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ export MLFLOW_TRACKING_URI=$(az ml workspace show --query mlflow_tracking_uri |
121121

122122
The Azure Machine Learning Tracking URI can be constructed using the subscription ID, region of where the resource is deployed, resource group name and workspace name. The following code sample shows how:
123123

124-
125124
```python
126125
import mlflow
127126

@@ -134,14 +133,17 @@ azureml_mlflow_uri = f"azureml://{region}.api.azureml.ms/mlflow/v1.0/subscriptio
134133
mlflow.set_tracking_uri(azureml_mlflow_uri)
135134
```
136135

136+
> [!WARNING]
137+
> If you are working in a private link-enabled workspace, the MLflow endpoint will also use a private link to communicate with Azure Machine Learning. As a consequence, the tracking URI will look different as proposed here. On those cases, you need to get the tracking URI using the Azure ML SDK or CLI v2.
138+
139+
---
140+
137141
> [!NOTE]
138142
> You can also get this URL by:
139143
> 1. Navigate to [Azure ML studio](https://ml.azure.com)
140-
> 2. Click on the uper-right corner of the page -> View all properties in Azure Portal -> MLflow tracking URI.
144+
> 2. Click on the upper-right corner of the page -> View all properties in Azure Portal -> MLflow tracking URI.
141145
> 3. Copy the URI and use it with the method `mlflow.set_tracking_uri`.
142146

143-
---
144-
145147
### Set experiment name
146148

147149
All MLflow runs are logged to the active experiment. By default, runs are logged to an experiment named `Default` that is automatically created for you. To configure the experiment you want to work on use MLflow command [`mlflow.set_experiment()`](https://mlflow.org/docs/latest/python_api/mlflow.html#mlflow.set_experiment).

0 commit comments

Comments
 (0)