Skip to content

etsubwfeleke/Diabetes-Prediction-CSCE5214

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🩺 Diabetes Risk Predictor

Streamlit App

A machine learning web application that predicts the likelihood of diabetes based on diagnostic measures (Glucose, Insulin, BMI, Age). This tool is designed to provide quick, accessible health insights using a Support Vector Machine (SVM) model.

👉 Click here to view the Live App


⚠️ Educational Purpose Disclaimer

Please Read Carefully: This project is for educational and informational purposes only.

  • The predictions generated by this model are based on historical data and statistical algorithms.

ℹ️ About the Project

This application was developed as part of the CSCE 5214 coursework. It demonstrates the end-to-end process of deploying a machine learning model, from training to a web interface.

Key Features:

  • Real-time Prediction: Instant analysis of health metrics.
  • Visual Feedback: Clear, color-coded results (Low Risk vs. High Risk).
  • AI Integration: Provides lifestyle and diet suggestions using OpenAI (simulated or live).
  • Interactive UI: Built with Streamlit for a responsive user experience.

🧬 How It Works

  1. Input: The user enters standard health metrics (Glucose, Insulin, BMI, Age).
  2. Processing: The app scales these inputs to match the training data range.
  3. Prediction: A pre-trained Support Vector Classifier (SVC) analyzes the data.
  4. Output: The app returns a risk assessment and a probability score.

📂 Repository Source & Credits

This project is a modified fork of an existing machine learning repository.

  • Original Repository: https://github.com/Aditya-Mankar/Diabetes-Prediction
  • Modifications: * Migrated frontend from Flask/HTML to Streamlit for better deployment.
    • Added visual styling and interactive tabs.
    • Integrated OpenAI API logic for personalized health tips.
    • Improved error handling and state management.

📄 License

Distributed under the MIT License. See LICENSE for more information.
LICENSE

About

A machine learning web application that predicts the likelihood of diabetes based on diagnostic measures (Glucose, Insulin, BMI, Age). This tool is designed to provide quick, accessible health insights using a Support Vector Machine (SVM) model.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages