使用 MLflow 搜尋 API 組建 儀表板 Build dashboards with the MLflow Search API

您可以使用 Mlflow.search_runs API 來提取 MLflow 執行的匯總計量,並將它們顯示在儀表板中。You can pull aggregate metrics on your MLflow runs using the mlflow.search_runs API and display them in a dashboard. 定期這類的檢查計量可讓您深入瞭解您的進度和生產力。Regularly such reviewing metrics can provide insight into your progress and productivity. 例如,您可以追蹤目標度量的改進,例如一段時間內的收益或精確度,以及跨多個執行和/或實驗。For example, you can track improvement of a goal metric like revenue or accuracy over time, across many runs and/or experiments.

此筆記本示範如何使用 Mlflow.search_runs API 來建立下列自訂儀表板:This notebook demonstrates how to build the following custom dashboard using the mlflow.search_runs API:

搜尋 API 儀表板Search API Dashboard

您可以在自己的實驗中執行筆記本,或針對自動產生的模擬實驗資料執行。You can either run the notebook on your own experiments or against autogenerated mock experiment data.

比較 MLflow 執行筆記本的儀表板Dashboard comparing MLflow runs notebook

取得筆記本Get notebook