Skip to content

Commit b67686f

Browse files
committed
fixing broken links and indentation
1 parent 13662c4 commit b67686f

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

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

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -251,26 +251,26 @@ To view metrics and artifacts in the studio:
251251

252252
To __access or query__ metrics, parameters, and artifacts programatically via the MLflow SDK, use [mlflow.get_run()](https://mlflow.org/docs/latest/python_api/mlflow.html#mlflow.get_run).
253253

254-
```python
255-
import mlflow
256-
257-
run = mlflow.get_run("<RUN_ID>")
258-
259-
metrics = run.data.metrics
260-
params = run.data.params
261-
tags = run.data.tags
262-
263-
print(metrics, params, tags)
264-
```
254+
```python
255+
import mlflow
256+
257+
run = mlflow.get_run("<RUN_ID>")
265258

266-
> [!TIP]
267-
> For metrics, the previous example code will only return the last value of a given metric. If you want to retrieve all the values of a given metric, use the `mlflow.get_metric_history` method. For more information on retrieving values of a metric, see [Getting params and metrics from a run](how-to-track-experiments-mlflow.md#getting-params-and-metrics-from-a-run).
259+
metrics = run.data.metrics
260+
params = run.data.params
261+
tags = run.data.tags
262+
263+
print(metrics, params, tags)
264+
```
265+
266+
> [!TIP]
267+
> For metrics, the previous example code will only return the last value of a given metric. If you want to retrieve all the values of a given metric, use the `mlflow.get_metric_history` method. For more information on retrieving values of a metric, see [Getting params and metrics from a run](how-to-track-experiments-mlflow.md#getting-params-and-metrics-from-a-run).
268268

269269
To __download__ artifacts you've logged, such as files and models, use [mlflow.artifacts.download_artifacts()](https://www.mlflow.org/docs/latest/python_api/mlflow.artifacts.html#mlflow.artifacts.download_artifacts).
270270

271-
```python
272-
mlflow.artifacts.download_artifacts(run_id="<RUN_ID>", artifact_path="helloworld.txt")
273-
```
271+
```python
272+
mlflow.artifacts.download_artifacts(run_id="<RUN_ID>", artifact_path="helloworld.txt")
273+
```
274274

275275
For more information about how to __retrieve or compare__ information from experiments and runs in Azure Machine Learning, using MLflow, see [Query & compare experiments and runs with MLflow](how-to-track-experiments-mlflow.md).
276276

articles/machine-learning/includes/machine-learning-mlflow-projects-deprecation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ ms.author: mopeakande
99
> [!WARNING]
1010
> Support for `MLproject` files ([MLflow Projects](https://mlflow.org/docs/latest/projects.html)) in Azure Machine Learning will be fully retired in September 2026. __MLflow is still fully supported__ and is still the recommended way to track machine learning workloads in Azure Machine Learning.
1111
>
12-
> As you continue to use MLflow, we recommend that you transition from `MLproject` files to Azure Machine Learning __Jobs__, using either the Azure CLI or the Azure Machine Learning SDK for Python (v2). For more information on Azure Machine Learning jobs, see [Track ML experiments and models with MLflow](../how-to-use-mlflow-cli-runs.md#configuring-the-experiment).
12+
> As you continue to use MLflow, we recommend that you transition from `MLproject` files to Azure Machine Learning __Jobs__, using either the Azure CLI or the Azure Machine Learning SDK for Python (v2). For more information on Azure Machine Learning jobs, see [Track ML experiments and models with MLflow](../how-to-use-mlflow-cli-runs.md#configure-the-experiment).

0 commit comments

Comments
 (0)