-
-
Save AllieUbisse/5bd1c710e39880a8e65db0679d7b320f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with mlflow.start_run(experiment_id=1, run_name="top_lever_run") as run: | |
with mlflow.start_run(experiment_id=1, run_name="subrun1",nested=True) as subrun1: | |
mlflow.log_param("p1","red") | |
mlflow.log_metric("m1", 5.1) | |
with mlflow.start_run(experiment_id=1, run_name="subsubrun1",nested=True) as subsubrun1: | |
mlflow.log_param("p3","green") | |
mlflow.log_metric("m3", 5.24) | |
with mlflow.start_run(experiment_id=1, run_name="subsubrun2", nested=True) as subsubrun2: | |
mlflow.log_param("p4","blue") | |
mlflow.log_metric("m5", 3.25) | |
with mlflow.start_run(experiment_id=1, run_name="subrun2", nested=True) as subrun2: | |
mlflow.log_param("p2","magenta") | |
mlflow.log_metric("m2", -.25) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for sharing