[PYTHON] Using MLflow with Databricks ② --Visualization of experimental parameters and metrics -

Introduction

In this previous article, I wrote about how to integrate the history of training machine learning models using MLflow on Databricks into a notebook.

Using MLflow with Databricks ① --Experiment tracking on notebook-

Databricks managed MLflow allows you to compare training model parameters and metrics, model staging, etc. on the UI.

In this article, I write about the part that visualizes and compares the parameters and metrics for each experiment.

UI screen for each experiment

From the screen where you checked the metrics for each experiment on the notebook in the previous article, click the red frame in the figure. 図2.png

You will be taken to a screen where information for each experiment is summarized. You'll see metrics, parameters, integrated notebooks, and more. 図3.png

Scroll down to save model and preference data, screenshots of experimental results, etc. as artifact files. 図4.png

When MLflow is integrated into the notebook, the experiment id is automatically assigned, and the run_id is assigned and managed for each execution result. Artifact files are stored in a directory within DBFS.

Comparison of each experiment

From the notebook, click the red frame in the figure below to the right of "Runs". 図5.png

A list of each experiment is displayed. image.png

Select the experiment you want to compare and "Compare". image.png

You can compare parameters and metrics. Clicking on each run id will take you to the individual page for the experiment above. image.png

Scroll down to visualize and compare parameters and metrics. image.png

in conclusion

This time, we visualized and compared experimental parameters and metrics on the Databricks UI. Next time, I would like to write about staging to move the trained model to production.

Previous article: Using MLflow with Databricks ① --Experiment tracking on notebook-

Recommended Posts

Using MLflow with Databricks ② --Visualization of experimental parameters and metrics -
Using MLflow with Databricks ① --Experimental tracking on notebook -
Using Python and MeCab with Azure Databricks
Using MLflow with Databricks ③ --Model lifecycle management -
Overview and tips of seaborn with statistical data visualization
Using Python with SPSS Modeler extension nodes ① Setup and visualization
Use MLflow with Databricks ④ --Call model -
Benefits and examples of using RabbitMq
Visualization of mixed matrices using sklearn.metrics.ConfusionMatrixDisplay
Clustering and visualization using Python and CytoScape
Coexistence of Python2 and 3 with CircleCI (1.0)
Aggregation and visualization of accumulated numbers
Get and estimate the shape of the head using Dlib and OpenCV with python
Example of using class variables and class methods
Import of japandas with pandas 1.0 and above
Meaning of deep learning models and parameters
Regression model and its visualization using scikit-learn
Correlation visualization of features and objective variables
Basics of Tableau Basics (Visualization Using Geographic Information)
Recommendation of Altair! Data visualization with Python
I'm using tox and Python 3.3 with Travis-CI