Heart Attack Risk Predictor
Hi Streamlit community! I built a heart attack risk prediction app
and would love to share it!
What it does:
Enter patient details (age, sex, race/ethnicity, and other health
factors) and the app instantly predicts personalized heart attack
risk — comparing it against the U.S. national average.
Model Details:
- Algorithm: Logistic Regression
- Data Source: CDC BRFSS 2022 (444,975 U.S. adults)
- Validation AUC: 0.84
- Validation Recall: 0.82
- Lift @ D1: 4.43×
Built with:
- Streamlit
- Scikit-learn
- Pandas / NumPy
- CDC BRFSS 2022 dataset
Would love feedback from the community — and would be honored
if this could be considered for the Streamlit Gallery! ![]()