Skip to content

Commit

Permalink
README update:
Browse files Browse the repository at this point in the history
:
  • Loading branch information
abdala9512 committed Jul 31, 2023
1 parent 774bf2d commit f09b321
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ The tech stack used:
The project uses:

1. [Pipenv](https://docs.pipenv.org/)
2. [docker](docker.com)
3. [mlflow]()
4. [grafana]()
5. [prefect]()
2. [docker](https://docker.com)
3. [mlflow](https://mlflow.org)
4. [grafana](https://grafana.com)
5. [prefect](https://prefect.io)

And th VM used for the project:
And th VM used for the project (AWS EC2 instance):

![](/assets/aws_instance.png)

Expand Down Expand Up @@ -113,19 +113,18 @@ For experiment tracking and model registry we use `mlflow`
We use prefect for orchestration in:
![](/assets/prefect_flows.png)

1. Model training
1. Model training `src/training_pipeline.py`
![](/assets/model_training_prefect.png)
2. Model inference (Predict new data)
![](/assets/score_churn_prefect.png)
3. Model monitoring (Calculate drift, and model performance)
2. Model inference (Predict new data) `src/batch_scoring_pipeline.py`
![](/assets/score_churn_prefect.png))
3. Model monitoring (Calculate drift, and model performance) `src/monitor_ml_churn_model.py`
![](/assets/monitoring_prefect.png)


# 5. Model Deployment

Deployment is done via `Makefile` + `Dockerfile`


# 6. Model monitoring

Machine learning monitoring with Grafana and Postgres involves using these two tools to track, visualize, and analyze the performance and behavior of machine learning models deployed in production. Let's break down how each component contributes to the monitoring process:
Expand Down Expand Up @@ -153,6 +152,6 @@ Grafana

```
echo "Build dockerfile"
docker build -t customer_churn_ml_pipeline .
docker build -t customer_churn_ml_pipeline ./src/deployment
docker run -v $(pwd):/app/ -it customer_churn_ml_pipeline
```

0 comments on commit f09b321

Please sign in to comment.