YAML Metadata Warning: empty or missing yaml metadata in repo card (https://huggingface.co/docs/hub/model-cards#model-card-metadata)

config.yaml

title: Heart Disease Predictor emoji: ❤️ colorFrom: red colorTo: pink sdk: streamlit sdk_version: "1.32.2" app_file: app.py pinned: false


tags: - heart-disease - classification - scikit-learn - healthcare - sklearn

❤️ Heart Disease Risk Classifier

This model predicts the risk of heart disease based on 13 clinical features such as age, cholesterol, chest pain type, and more.

This model was trained using the Kaggle - Heart Disease Cleveland UCI Dataset.

🧠 Model Info

  • Algorithm: RandomForestClassifier
  • Framework: scikit-learn
  • Preprocessing: StandardScaler
  • Target: Binary classification (0 = No disease, 1 = Disease)

📥 Input Example (sample_input.json)

{
  "age": 65,
  "sex": 1,
  "cp": 1,
  "trestbps": 150,
  "chol": 300,
  "fbs": 1,
  "restecg": 1,
  "thalach": 120,
  "exang": 1,
  "oldpeak": 3.5,
  "slope": 2,
  "ca": 2,
  "thal": 2
}




📤 Output
0 → Low risk

1 → High risk




📁 Files
heart_model.pkl — Trained model

scaler.pkl — StandardScaler used in training

sample_input.json — Example input JSON



📝 License
MIT
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