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
Delete config.json
Browse files- config.json +0 -40
config.json
DELETED
|
@@ -1,40 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"sklearn": {
|
| 3 |
-
"columns": [
|
| 4 |
-
"AgeCategory",
|
| 5 |
-
"Stroke",
|
| 6 |
-
"Diabetic_Yes",
|
| 7 |
-
"KidneyDisease",
|
| 8 |
-
"Smoking",
|
| 9 |
-
"SkinCancer",
|
| 10 |
-
"Is_Male",
|
| 11 |
-
"BMI",
|
| 12 |
-
"Asthma",
|
| 13 |
-
"Race_White",
|
| 14 |
-
"AlcoholDrinking",
|
| 15 |
-
"GenHealth"
|
| 16 |
-
],
|
| 17 |
-
"environment": [
|
| 18 |
-
"scikit-learn=1.2.0"
|
| 19 |
-
],
|
| 20 |
-
"example_input": {
|
| 21 |
-
{
|
| 22 |
-
"AgeCategory": "50-54",,
|
| 23 |
-
"Stroke": "No",
|
| 24 |
-
"Diabetic_Yes": "Yes",
|
| 25 |
-
"KidneyDisease": "No",
|
| 26 |
-
"Smoking": "Yes",
|
| 27 |
-
"SkinCancer": "No",
|
| 28 |
-
"Is_Male": "Male",
|
| 29 |
-
"BMI": "OverWeight",
|
| 30 |
-
"Asthma": "Yes",
|
| 31 |
-
"Race_White": "White",
|
| 32 |
-
"AlcoholDrinking": "No",
|
| 33 |
-
"GenHealth": "Fair"
|
| 34 |
-
},
|
| 35 |
-
"model": {
|
| 36 |
-
"file": "rf_model_to_predict_heartDisease.pkl"
|
| 37 |
-
},
|
| 38 |
-
"task": "tabular-classification"
|
| 39 |
-
}
|
| 40 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|