mubashir1837/heart-disease
Viewer • Updated • 303 • 43
This is a machine learning model built using Scikit-learn to predict heart disease risk based on patient data.
Tabular Classification
from huggingface_hub import hf_hub_download
import joblib
model_path = hf_hub_download(
repo_id="mubashir1837/Heart-Disease-Classifier",
filename="heart_disease_model.pkl"
)
model = joblib.load(model_path)
data = [[63, 1, 145, 233, 1, 2, 150, 0, 2.3, 0, 0, 1, 1]]
prediction = model.predict(data)
print(prediction)