From 30c8d3f6153301d8fc4443c2a7b6f0d073b145c1 Mon Sep 17 00:00:00 2001 From: Herson Oliveira Date: Thu, 28 Mar 2024 14:32:36 +0100 Subject: [PATCH] Fixes for notebooks 3 and 5 --- 3 Driverless AI: AutoML.ipynb | 2 +- 5 MLOps: Model Deployments.ipynb | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/3 Driverless AI: AutoML.ipynb b/3 Driverless AI: AutoML.ipynb index ded4ea2..5b0064d 100644 --- a/3 Driverless AI: AutoML.ipynb +++ b/3 Driverless AI: AutoML.ipynb @@ -660,7 +660,7 @@ "metadata": {}, "outputs": [], "source": [ - "default_baseline.summary()" + "default_baseline.summary" ] }, { diff --git a/5 MLOps: Model Deployments.ipynb b/5 MLOps: Model Deployments.ipynb index f102b16..5821548 100644 --- a/5 MLOps: Model Deployments.ipynb +++ b/5 MLOps: Model Deployments.ipynb @@ -206,7 +206,7 @@ "metadata": {}, "outputs": [], "source": [ - "experiment = project.experiments.get(uid=\"ca85ba4a-a01a-11ee-95af-425f7a7f3fbf\")" + "experiment = project.experiments.get(uid=project.experiments.list()[0].uid)" ] }, { @@ -252,7 +252,7 @@ "metadata": {}, "outputs": [], "source": [ - "model = project.models.get(uid=\"7737d493-83cd-46b6-a7e9-3f47008d359e\")" + "model = project.models.get(uid=project.models.list()[0].uid)" ] }, { @@ -300,8 +300,8 @@ "outputs": [], "source": [ "runtime = mlops.runtimes.scoring.list(\n", - " artifact_type=model.get_experiment().artifact_types[0],\n", - " uid=\"dai_mojo_runtime\"\n", + " artifact_type=model.get_experiment().scoring_artifact_types[0],\n", + " uid=\"python-scorer_dai_pipelines_1107\",\n", ")[0]" ] },