Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

❤️ CardioGuard AI

Intelligent Cardiovascular Disease Prediction System

🚀 Live App: https://cardioguard-innfk687tnac4t5fzekefz.streamlit.app/

💻 GitHub Repository: https://github.com/omkumar103/CardioGuard


🧠 Project Overview

CardioGuard AI is a Machine Learning-powered web application designed to predict the risk of cardiovascular disease using key health parameters.

It combines data science, machine learning, and an interactive Streamlit UI to deliver real-time, interpretable health insights in a clean and user-friendly interface.


🎯 Key Features

Real-Time Prediction

  • Instant heart disease risk prediction based on user input

📊 Interactive Data Visualization

  • Graphs for age, blood pressure, cholesterol, and more
  • Correlation heatmap for feature relationships

🤖 Multiple ML Models

  • Logistic Regression
  • Random Forest
  • Linear SVM

🏆 Model Comparison System

  • Automatically selects the best-performing model

🧩 Feature Engineering

  • BMI calculation
  • Pulse pressure analysis
  • Data cleaning & preprocessing

🎨 Modern UI/UX (Streamlit)

  • Multi-page navigation (Home, About, Features, Prediction, Contact)
  • Clean, responsive, and visually engaging interface

📊 Dataset

  • Cardiovascular Disease Dataset

  • Includes features like:

    • Age
    • Gender
    • Height & Weight
    • Blood Pressure (ap_hi, ap_lo)
    • Cholesterol & Glucose levels
    • Lifestyle factors (smoking, alcohol, activity)

⚙️ Tech Stack

  • Language: Python

  • Frontend/UI: Streamlit

  • Libraries:

    • pandas, numpy
    • scikit-learn
    • matplotlib, seaborn
  • Model Handling: joblib


🧪 Machine Learning Workflow

  1. Data Cleaning & Preprocessing
  2. Feature Engineering
  3. Train-Test Split
  4. Model Training
  5. Accuracy Evaluation
  6. Best Model Selection
  7. Real-Time Prediction Integration

📈 Model Performance

Model Accuracy
Logistic Regression ~72%
Random Forest ~73%
Linear SVM ~72%

👉 Best Model: Random Forest


🚀 How to Run Locally

# Clone repository
git clone https://github.com/omkumar103/CardioGuard.git

# Navigate to project
cd CardioGuard

# Install dependencies
pip install -r requirements.txt

# Run Streamlit app
streamlit run app.py

🌐 Deployment

The project is deployed using Streamlit Cloud:

🔗 https://cardioguard-innfk687tnac4t5fzekefz.streamlit.app/


📌 Future Improvements

  • 🔍 Advanced hyperparameter tuning
  • 📱 Mobile-first UI enhancements
  • 🧠 Deep learning model integration
  • 📊 Personalized health recommendations
  • 🔐 User authentication system

👨‍💻 Author

Om Kumar 📧 Email: om084547@gmail.com 🔗 LinkedIn: https://www.linkedin.com/in/om-kumar-96bb11294/ 💻 GitHub: https://github.com/omkumar103


⭐ Final Note

This project demonstrates the integration of Machine Learning + Real-world Healthcare Data + Interactive Web UI, making it a strong example of an end-to-end Data Science application.

If you found this project useful, consider ⭐ starring the repository!

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages