Skip to content

Commit

Permalink
Merge pull request #64 from louisguitton/patch-1
Browse files Browse the repository at this point in the history
Fix typos in tutorials
  • Loading branch information
sixhobbits authored Aug 16, 2021
2 parents 2ba79de + b88c48c commit 17a9310
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tutorials/basic-usage-of-jupyter-mlflow-and-prefect.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 3 additions & 1 deletion tutorials/deploy-model-seldon.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}")

Expand Down Expand Up @@ -302,6 +303,7 @@ api_request = requests.post(
headers={"Authorization": f"Bearer {token}"},
timeout=600
)
```

## Deploying the model via the Prefect UI

Expand Down

0 comments on commit 17a9310

Please sign in to comment.