Skip to content

thisissaditya/CardioRisk-Analytics

Repository files navigation

❤️ CardioRisk Analytics

AI-Powered Cardiovascular Risk Prediction Platform built using Machine Learning, Flask, and Interactive Health Analytics.


Overview

CardioRisk Analytics is a full-stack healthcare analytics platform that predicts cardiovascular disease risk using machine learning models trained on the CDC BRFSS 2021 dataset.

The platform combines predictive modeling, health analytics, risk visualization, and personalized recommendations through an interactive web dashboard.


Features

  • Cardiovascular Disease Risk Prediction
  • Real-Time Health Analytics Dashboard
  • Automatic BMI Calculation
  • Interactive Risk Gauge
  • Personalized Health Recommendations
  • Random Forest Prediction Model
  • Logistic Regression Prediction Model
  • Neural Network Prediction Model
  • Model Performance Comparison
  • Responsive User Interface

Dataset

CDC BRFSS 2021 Dataset

  • 308,000+ Health Records
  • Multiple Lifestyle Indicators
  • Cardiovascular Disease Labels

Source:
https://www.kaggle.com/datasets/alphiree/cardiovascular-diseases-risk-prediction-dataset


Model Files

Pre-trained model files are not included in this repository due to GitHub file size limitations.

To generate the models locally:

python train_models.py

Generated model files will be stored in the models/ directory.

Models Used:

  • Random Forest Classifier
  • Logistic Regression
  • Neural Network (MLP)

Tech Stack

Backend

  • Python
  • Flask
  • Scikit-Learn
  • Pandas
  • NumPy
  • Joblib

Frontend

  • HTML
  • CSS
  • JavaScript
  • Chart.js

Machine Learning

  • Random Forest
  • Logistic Regression
  • Neural Network (MLP)

System Architecture

User Input
      ↓
Data Validation
      ↓
Feature Processing
      ↓
Machine Learning Models
      ↓
Risk Prediction
      ↓
Health Analytics Dashboard

Screenshots

Dashboard

Dashboard

Risk Prediction

Risk Prediction

Model Comparison

Model Comparison

Recommendations

Recommendations


Installation

git clone https://github.com/thisissaditya/CardioRisk-Analytics.git

cd CardioRisk-Analytics

pip install -r requirements.txt

python train_models.py

python app.py

Future Improvements

  • Explainable AI (SHAP)
  • User Authentication
  • Medical Report Generation
  • Cloud Deployment
  • Mobile Application

Author

Purshottam Rakesh

B.Tech Computer Science Engineering (AI & ML)
VIT Bhopal University

GitHub: https://github.com/thisissaditya


⭐ If you found this project useful, consider giving it a star.

About

AI-powered cardiovascular risk prediction platform with machine learning, health analytics, risk visualization, and personalized recommendations.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages