Skip to content

Commit 851e142

Browse files
authored
Merge pull request #174 from J-Silvestre/patch-4
Update reference-migrate-sdk-v1-mlflow-tracking.md
2 parents 85d0a58 + f4d02e7 commit 851e142

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/machine-learning/reference-migrate-sdk-v1-mlflow-tracking.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ params = finished_mlflow_run.data.params
363363
```
364364

365365
> [!NOTE]
366-
> The `metrics` will only have the most recently logged value for a given metric. For example, if you log in order a value of `1`, then `2`, `3`, and finally `4` to a metric named `sample_metric`, only `4` will be present in the `metrics` dictionary. To get all metrics logged for a specific named metric, use [MlFlowClient.get_metric_history](https://mlflow.org/docs/latest/python_api/mlflow.tracking.html#mlflow.tracking.MlflowClient.get_metric_history):
366+
> The `metrics` will only have the most recently logged value for a given metric. For example, if you log in order a value of `1`, then `2`, `3`, and finally `4` to a metric named `sample_metric`, only `4` will be present in the `metrics` dictionary. To get all metrics logged for a specific named metric, use [MlFlowClient.get_metric_history](https://mlflow.org/docs/latest/python_api/mlflow.client.html?highlight=get_metric_history#mlflow.client.MlflowClient.get_metric_history):
367367
>
368368
> ```python
369369
> with mlflow.start_run() as multiple_metrics_run:
@@ -376,7 +376,7 @@ params = finished_mlflow_run.data.params
376376
> print(client.get_metric_history(multiple_metrics_run.info.run_id, "sample_metric"))
377377
> ```
378378
>
379-
> For more information, see the [MlFlowClient](https://mlflow.org/docs/latest/python_api/mlflow.tracking.html#mlflow.tracking.MlflowClient) reference.
379+
> For more information, see the [MlFlowClient](https://mlflow.org/docs/latest/python_api/mlflow.client.html?highlight=get_metric_history#module-mlflow.client) reference.
380380
381381
The `info` field provides general information about the run, such as start time, run ID, experiment ID, etc.:
382382

0 commit comments

Comments
 (0)