Skip to content

Commit

Permalink
Added pipeline graph to deployment usage (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
seblum committed Jun 11, 2023
1 parent e6bd7f4 commit 4e4be01
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manuscript/09.2-Deployment-Usage_Pipeline-Workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ To execute the pipeline steps, the Airflow Docker Operator is employed, which en

Once the model is in the serving phase, a Streamlit app is deployed for applying inference on new data.

![DAG pipeline](images/09-Deployment-Usage/DAG-pipeline.png)
![](images/09-Deployment-Usage/use-case-pipeline-graph.png)

The code below defines the `ml_pipeline_dag` function as an Airflow DAG using the `dag` decorator. Each step of the pipeline, including data preprocessing, model training, model comparison, and serving the best model, is represented as a separate task with the `@task` decorator. Dependencies between these tasks are established by passing the output of one task as an argument to the next task. The `ml_pipeline` object serves as a representation of the entire DAG.

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4e4be01

Please sign in to comment.