GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - iam-veeramalla/first-mlops-project: If you are a beginner who is interested in learning MLOps, This repository is what you are looking for.

BranchesTags
Open more actions menu

Latest commit

 

History

3 Commits
3 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
k8s-deploy.yml
k8s-deploy.yml
 
 
main.py
main.py
 
 
requirements.txt
requirements.txt
 
 
train.py
train.py
 
 

Repository files navigation

🩺 Diabetes Prediction Model – Your First MLOps Project (FastAPI + Docker + K8s)

🎥 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

📊 Problem Statement

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.


🚀 Quick Start

1. Clone the Repo

git clone https://github.com/iam-veeramalla/first-mlops-project.git
cd first-mlops-project

2. Create Virtual Environment

python3 -m venv .mlops
source .mlops/bin/activate

3. Install Dependencies

pip install -r requirements.txt

Train the Model

python train.py

Run the API Locally

uvicorn main:app --reload

Sample Input for /predict

{
  "Pregnancies": 2,
  "Glucose": 130,
  "BloodPressure": 70,
  "BMI": 28.5,
  "Age": 45
}

Dockerize the API

Build the Docker Image

docker build -t diabetes-prediction-model .

Run the Container

docker run -p 8000:8000 diabetes-prediction-model

Deploy to Kubernetes

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

About

If you are a beginner who is interested in learning MLOps, This repository is what you are looking for.

Resources

Readme
Apache-2.0 license
Activity

Stars

202 stars

Watchers

0 watching

Forks

300 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.