Skip to content

Commit

Permalink
Add a sequence diagram to show the pipeline you'll construct
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-prefect committed Jan 8, 2025
1 parent 1030df7 commit 6a922c2
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions docs/v3/tutorials/ml.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,27 @@ description: Use S3 webhooks to trigger an ML training flow on SageMaker

In the [Extract data from websites](/v3/tutorials/scraping) tutorial, you learned how to handle data dependencies and ingest large amounts of data.
Now, you'll learn how to train a machine learning model using your data.
Here's the pipeline that you'll construct:

```mermaid
sequenceDiagram
actor Data Engineer
Data Engineer->>AWS: Upload training data to S3 Bucket
AWS->>AWS: Trigger EventBridge rule
Note over AWS,Prefect Cloud: Start model training
AWS->>Prefect Cloud: Send event to webhook
Prefect Cloud->>Prefect Cloud: Trigger automation
Prefect Cloud->>Prefect Cloud: Run deployment
Prefect Cloud->>AWS: Train model with Sagemaker
AWS->>AWS: Save fitted model to S3 Bucket
AWS->>AWS: Trigger EventBridge rule
Data Engineer-->>Prefect Cloud: View model performance in logs
Note over AWS,Prefect Cloud: Start model inference
AWS->>Prefect Cloud: Send event to webhook
Prefect Cloud->>Prefect Cloud: Trigger automation
Prefect Cloud->>Prefect Cloud: Run deployment
Data Engineer-->>Prefect Cloud: View predictions in logs
```

## Prerequisites

Expand Down

0 comments on commit 6a922c2

Please sign in to comment.