prsdm
mlops-project
HTML

No description available.

Last updated Jul 5, 2026
182
Stars
100
Forks
1
Issues
+1
Stars/day
Attention Score
59
Language breakdown
No language data available.
Files click to expand
README

Insurance Cross Sell Prediction 🏠🏥

GitHub Medium

Welcome to the Insurance Cross-Selling Prediction project! The goal of this project is to predict which customers are most likely to purchase additional insurance products using a machine learning model.

Diagram

Below is the architecture diagram that illustrates the flow of the project from data ingestion to model deployment: Image

Get Started

To get started with the project, follow the steps below:

1. Clone the Repository

Clone the project repository from GitHub:
git clone https://github.com/prsdm/ml-project.git
cd ml-project

2. Set Up the Environment

Ensure you have Python 3.8+ installed. Create a virtual environment and install the necessary dependencies:
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
pip install -r requirements.txt
Alternatively, you can use the Makefile command:
make setup

3. Data Preparation

Pull the data from DVC. If this command doesn't work, the train and test data are already present in the data folder:
dvc pull

4. Train the Model

To train the model, run the following command:
python main.py
Or use the Makefile command:
make run
This script will load the data, preprocess it, train the model, and save the trained model to the models/ directory.

5. FastAPI

Start the FastAPI application by running:
uvicorn app:app --reload

6. Docker

To build the Docker image and run the container:
docker build -t my_fastapi .
docker run -p 80:80 my_fastapi
Once your Docker image is built, you can push it to Docker Hub, making it accessible for deployment on any cloud platform.

7. Monitor the Model

Integrate Evidently AI to monitor the model for data drift and performance degradation:
run monitor.ipynb file

License

Copyright © 2024, Prasad Mahamulkar.

Released under the Apache-2.0 license.

🔗 More in this category

© 2026 GitRepoTrend · prsdm/mlops-project · Updated daily from GitHub