How CardioSense Works
Understanding the science and technology behind your cardiovascular risk assessment
The Ensemble Model
Four powerful algorithms working together
Random Forest
Creates multiple decision trees and combines their predictions for robust results.
XGBoost
Gradient boosting algorithm that sequentially improves predictions.
Gradient Boosting
Builds models iteratively, each correcting errors from the previous.
Logistic Regression
Statistical model providing probability estimates with interpretability.
The VotingClassifier combines predictions from all four models using soft voting, averaging probability estimates to produce a more accurate and stable final prediction.
Model Performance
Evaluation metrics from our test dataset (12,500+ samples)
Accuracy
Overall prediction accuracy
Precision
True positive accuracy
Recall
True positive detection rate
F1 Score
Balance of precision & recall
Model Diagnostics
Detailed performance visualizations
Top 10 Risk Factors
Features ranked by importance in prediction
Confusion Matrix
Prediction vs Actual outcomes
ROC Curve
Receiver Operating Characteristic - Model Discrimination
Confidence Distribution
Prediction probability spread
Class Distribution
Test dataset balance
Model Performance Radar
Key metrics comparison
Data
The foundation of our model
Dataset Source
Cardiovascular Disease Dataset from Kaggle, containing patient examination data from medical records.
View on KaggleExplainable AI with SHAP
Understanding why the model makes specific predictions
What is SHAP?
SHAP (SHapley Additive exPlanations) is a game-theoretic approach to explain machine learning predictions. It calculates the contribution of each feature to the final prediction.
Example: Feature Contributions
Cardiovascular Health 101
Understanding the factors that affect your heart
Blood Pressure
High blood pressure (hypertension) makes your heart work harder and damages artery walls over time.
Cholesterol
High cholesterol leads to plaque buildup in arteries, restricting blood flow and increasing heart attack risk.
BMI & Weight
Excess weight increases strain on your heart and is linked to higher blood pressure and cholesterol.
Smoking
Smoking damages blood vessels, reduces oxygen in blood, and significantly increases cardiovascular disease risk.
Physical Activity
Regular exercise strengthens the heart, improves circulation, and helps maintain healthy weight and blood pressure.
Blood Glucose
High blood sugar damages blood vessels and nerves that control the heart, increasing cardiovascular risk.
Ready to Check Your Heart Health?
Get your personalized risk assessment in under 2 minutes
Start Assessment