From b4f1a1b78c45e6fa816e71f84f81aab626cf136b Mon Sep 17 00:00:00 2001 From: Louis Guitton Date: Sun, 15 Aug 2021 21:56:43 +0200 Subject: [PATCH 1/3] Fix typo to match screenshot --- tutorials/basic-usage-of-jupyter-mlflow-and-prefect.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/basic-usage-of-jupyter-mlflow-and-prefect.md b/tutorials/basic-usage-of-jupyter-mlflow-and-prefect.md index 4f5ca03f..646d4e3f 100644 --- a/tutorials/basic-usage-of-jupyter-mlflow-and-prefect.md +++ b/tutorials/basic-usage-of-jupyter-mlflow-and-prefect.md @@ -155,7 +155,7 @@ Now train the model twice more - first with the default parameters, and then wit ```python train_model(data, mlflow_experiment_id=1, alpha=0.3, l1_ratio=0.3) -train_model(data, mlflow_experiment_id=1, alpha=0.3, l1_ratio=0.3) +train_model(data, mlflow_experiment_id=1, alpha=0.5, l1_ratio=0.5) ``` ![](./images/mlflow-results.png) From d435d391f96aab21070bac3f99bd2c6f9eecec10 Mon Sep 17 00:00:00 2001 From: Louis Guitton Date: Sun, 15 Aug 2021 22:19:12 +0200 Subject: [PATCH 2/3] Update deploy-model-seldon.md --- tutorials/deploy-model-seldon.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tutorials/deploy-model-seldon.md b/tutorials/deploy-model-seldon.md index 7e0b8371..bef07ec0 100644 --- a/tutorials/deploy-model-seldon.md +++ b/tutorials/deploy-model-seldon.md @@ -230,7 +230,8 @@ Note that we leave the `model_uri` as an argument, so that we can specify this e ```python @task -def deploy_model(model_uri: str, namespace: str = "seldon"): logger = prefect.context.get("logger") +def deploy_model(model_uri: str, namespace: str = "seldon"): + logger = prefect.context.get("logger") logger.info(f"Deploying model {model_uri} to enviroment {namespace}") From b88c48c92e58c00b0f2118597e20fa155f490d44 Mon Sep 17 00:00:00 2001 From: Louis Guitton Date: Sun, 15 Aug 2021 22:29:13 +0200 Subject: [PATCH 3/3] Update deploy-model-seldon.md --- tutorials/deploy-model-seldon.md | 1 + 1 file changed, 1 insertion(+) diff --git a/tutorials/deploy-model-seldon.md b/tutorials/deploy-model-seldon.md index bef07ec0..9b7bd5c0 100644 --- a/tutorials/deploy-model-seldon.md +++ b/tutorials/deploy-model-seldon.md @@ -303,6 +303,7 @@ api_request = requests.post( headers={"Authorization": f"Bearer {token}"}, timeout=600 ) +``` ## Deploying the model via the Prefect UI