Heart Disease Classifier

This is a machine learning model built using Scikit-learn to predict heart disease risk based on patient data.

Model Type

Tabular Classification

Usage

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)
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train mubashir1837/Heart-Disease-Classifier