Skip to content

Commit 17a9310

Browse files
authored
Merge pull request #64 from louisguitton/patch-1
Fix typos in tutorials
2 parents 2ba79de + b88c48c commit 17a9310

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

tutorials/basic-usage-of-jupyter-mlflow-and-prefect.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ Now train the model twice more - first with the default parameters, and then wit
155155

156156
```python
157157
train_model(data, mlflow_experiment_id=1, alpha=0.3, l1_ratio=0.3)
158-
train_model(data, mlflow_experiment_id=1, alpha=0.3, l1_ratio=0.3)
158+
train_model(data, mlflow_experiment_id=1, alpha=0.5, l1_ratio=0.5)
159159
```
160160

161161
![](./images/mlflow-results.png)

tutorials/deploy-model-seldon.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,8 @@ Note that we leave the `model_uri` as an argument, so that we can specify this e
230230

231231
```python
232232
@task
233-
def deploy_model(model_uri: str, namespace: str = "seldon"): logger = prefect.context.get("logger")
233+
def deploy_model(model_uri: str, namespace: str = "seldon"):
234+
logger = prefect.context.get("logger")
234235

235236
logger.info(f"Deploying model {model_uri} to enviroment {namespace}")
236237

@@ -302,6 +303,7 @@ api_request = requests.post(
302303
headers={"Authorization": f"Bearer {token}"},
303304
timeout=600
304305
)
306+
```
305307

306308
## Deploying the model via the Prefect UI
307309

0 commit comments

Comments
 (0)