Instructions to use abhatt13/HeartDiseasePredictor with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use abhatt13/HeartDiseasePredictor with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("abhatt13/HeartDiseasePredictor", "sklearn_model.joblib") ) # only load pickle files from sources you trust # read more about it here https://skops.readthedocs.io/en/stable/persistence.html - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +3 -1
config.json
CHANGED
|
@@ -1,3 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"input": [
|
|
|
|
|
|
|
| 3 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"input": [
|
| 3 |
+
{"AgeCategory": 0, "Stroke": 1, "Diabetic_Yes": 1, "KidneyDisease": 1, "Smoking": 1, "SkinCancer": 1, "Is_Male": 1, "BMI": 0, "Asthma": 1, "Race_White": 1, "AlcoholDrinking": 1, "GenHealth": 0}
|
| 4 |
+
]
|
| 5 |
}
|