🎥 YouTube video for the project: "Build Your First MLOps Project"
This project helps you learn Building and Deploying an ML Model using a simple and real-world use case: predicting whether a person is diabetic based on health metrics. We’ll go from:
- ✅ Model Training
- ✅ Building the Model locally
- ✅ API Deployment with FastAPI
- ✅ Dockerization
- ✅ Kubernetes Deployment
Predict if a person is diabetic based on:
- Pregnancies
- Glucose
- Blood Pressure
- BMI
- Age
We use a Random Forest Classifier trained on the Pima Indians Diabetes Dataset.
git clone https://github.com/iam-veeramalla/first-mlops-project.git
cd first-mlops-projectpython3 -m venv .mlops
source .mlops/bin/activate
pip install -r requirements.txt
python train.py
uvicorn main:app --reload
{
"Pregnancies": 2,
"Glucose": 130,
"BloodPressure": 70,
"BMI": 28.5,
"Age": 45
}
docker build -t diabetes-prediction-model .
docker run -p 8000:8000 diabetes-prediction-model
kubectl apply -f diabetes-prediction-model-deployment.yaml
🙌 Credits
Created by ABHISHEK VEERAMALLA
Subscribe for more DevOps + MLOps content on the YouTube Channel - Abhishek.Veeramalla