You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/machine-learning/how-to-use-mlflow-cli-runs.md
+16-16Lines changed: 16 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -251,26 +251,26 @@ To view metrics and artifacts in the studio:
251
251
252
252
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).
253
253
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>")
265
258
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).
268
268
269
269
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).
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).
Copy file name to clipboardExpand all lines: articles/machine-learning/includes/machine-learning-mlflow-projects-deprecation.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,4 +9,4 @@ ms.author: mopeakande
9
9
> [!WARNING]
10
10
> 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.
11
11
>
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