Downloads · 30 days
0
sm89/health_score
health_score is a machine learning model from sm89. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
This model predicts the risk of cardiovascular issues based on personal and clinical bio-metrics. It was trained on the Cardiovascular Disease dataset and is intended for informational and research purposes.
Downloads · 30 days
0
Access
Public
Updated Mar 10, 2026
Repo size
481 KB
Likes
0
Public
Click a slice to open those files.
.pkl481 KB · 99%
From the Hugging Face model README
This model predicts the risk of cardiovascular issues based on personal and clinical bio-metrics. It was trained on the Cardiovascular Disease dataset and is intended for informational and research purposes.
age: Age in yearsgender: Gender (mapped)height: Height in cmweight: Weight in kgsystolic_bp: Systolic Blood Pressurediastolic_bp: Diastolic Blood Pressurecholesterol: Cholesterol Level (mapped)gluc: Glucose Level (mapped)smoke: Smoker statusalco: Alcohol consumptionactive: Physical activitybmi: Body Mass Index (calculated)pulse_pressure: Difference between Systolic and Diastolic BPThe model has been optimized for high recall and ROC-AUC to ensure potential risks are not missed. (Detailed metrics available in training logs).
You can load the model and scaler using pickle or joblib:
import pickle
import pandas as pd
# Load resources
with open('model.pkl', 'rb') as f:
model = pickle.load(f)
with open('scaler.pkl', 'rb') as f:
scaler = pickle.load(f)
# Sample prediction
data = pd.DataFrame({...}) # Match feature order
data[scaler_cols] = scaler.transform(data[scaler_cols])
prediction = model.predict(data)
This tool uses a machine learning model for informational purposes only. It is NOT a substitute for professional medical advice, diagnosis, or treatment. Always consult with a qualified healthcare provider for any questions regarding a medical condition.