Early Diabetes Risk Prediction Using Machine Learning - Final Year Project with Source Code
Early Diabetes Risk Prediction Using Machine Learning - Complete Project Demo Video
Watch Demo Video
Machine Learning

Early Diabetes Risk Prediction Using Machine Learning

The Early Diabetes Risk Prediction Using Machine Learning system is a comprehensive machine learning solution that predicts diabetes risk using the Pima Indian Diabetes dataset. This project is ideal for B.Tech, MCA, CSE, and engineering students as their final year project. It implements Random Forest, XGBoost, and Logistic Regression with leak-free SMOTE, achieving 84.8% accuracy and 0.920 ROC-AUC.

The system utilizes the Pima Indian Diabetes dataset containing 768 patient records with 8 clinical features including glucose, BMI, age, pregnancies, insulin, blood pressure, skin thickness, and diabetes pedigree function. It provides a user-friendly web interface for data upload, exploratory data analysis, model training, and real-time diabetes risk prediction, enabling healthcare professionals to make informed clinical decisions and reduce diabetes-related complications.

Python 3.8+ Machine Learning Random Forest XGBoost Logistic Regression Scikit-learn SMOTE Pandas NumPy Matplotlib Seaborn Flask HTML/CSS/JS
Key Features:
  • Multi-Model Diabetes Risk Prediction
  • Random Forest (84.8% Accuracy)
  • XGBoost (84.5% Accuracy)
  • Logistic Regression (78.9% Accuracy)
  • Leak-free SMOTE Oversampling
  • Feature Engineering & EDA
  • Interactive Visualizations
  • Real-time Risk Predictions
  • Model Performance Comparison
  • Feature Importance Analysis
  • Flask Web Application

Algorithms Used

🌲 Random Forest
Ensemble learning with n_estimators=300, max_depth=10, class_weight='balanced'
🎯 Accuracy: 84.8%
⚡ XGBoost
Gradient boosting with n_estimators=250, max_depth=5, reg_lambda=1.0
🎯 Accuracy: 84.5%
📊 Logistic Regression
L2-regularized logistic regression with class_weight='balanced'
🎯 Accuracy: 78.9%
🔄 SMOTE Oversampling
Synthetic minority oversampling applied leak-free inside CV folds
📊 CV AUC: 0.910

Methodology & Workflow

1 Data Collection
768 patient records with 8 clinical features
2 Data Preprocessing
Missing value handling, feature scaling, encoding
3 Exploratory Data Analysis
Statistical analysis and visualization of patterns
4 Model Training
Random Forest, XGBoost, Logistic Regression with leak-free SMOTE
5 Model Evaluation
Accuracy, Precision, Recall, F1-Score, ROC-AUC
6 Web Deployment
Flask web app with real-time risk prediction

Model Performance Comparison

Metric Logistic Regression Random Forest XGBoost Best
Test Accuracy 78.9% 84.8% 84.5% Random Forest
Test Precision 78.5% 83.9% 83.5% Random Forest
Test Recall 78.9% 84.8% 84.5% Random Forest
Test F1-Score 78.7% 84.3% 83.9% Random Forest
Test ROC-AUC 83.4% 91.4% 92.0% XGBoost
CV Mean ROC-AUC 82.5% 90.6% 91.0% XGBoost

Project Package Includes:

Complete Source Code Documentation (50+ pages) Video Tutorial Pima Indian Diabetes Dataset Flask Web App Model Files (Pickle) Visualizations 24/7 Expert Support
Check Payment Status
LIMITED TIME OFFER -70%
Complete Project Package Lifetime Access
Original Price
9,999
Today's Price 2,999 💎 Save ₹7,000
You Save ₹7,000 (70% OFF)
Complete Source Code
Documentation & PPT
Video Tutorial
24/7 Expert Support

Scan & Pay with UPI

SECURE
UPI QR Code
Payee Thirumalai Kumar
UPI ID 9600095045@icici
Amount ₹2,999

Submit Your Payment

100% SECURE
Payment Details

Enter your UPI Transaction ID and upload payment screenshot for verification.

📚 Academic & Research Support Services
Need help with Thesis, Dissertation, Assignments, or PhD Research? We've got you covered!
📝

Thesis & Dissertation

Complete thesis writing, research guidance, and formatting support

Expert Help
📄

Assignment Help

Quality assignment writing, editing, and proofreading services

100% Original
🔬

PhD Research

Research proposal, literature review, data analysis & publication

PhD Level
📊

Project Guidance

Academic projects, mini projects, and final year project support

Hands-on
📞 Need custom support? Contact us directly!
Chat on WhatsApp
Chat with us 💬