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 +6 -6
config.json
CHANGED
|
@@ -19,8 +19,8 @@
|
|
| 19 |
],
|
| 20 |
"example_input":{
|
| 21 |
"AgeCategory": [
|
| 22 |
-
|
| 23 |
-
|
| 24 |
],
|
| 25 |
"Stroke": [
|
| 26 |
0,
|
|
@@ -47,8 +47,8 @@
|
|
| 47 |
0
|
| 48 |
],
|
| 49 |
"BMI": [
|
| 50 |
-
|
| 51 |
-
|
| 52 |
],
|
| 53 |
"Asthma": [
|
| 54 |
1,
|
|
@@ -63,8 +63,8 @@
|
|
| 63 |
0
|
| 64 |
],
|
| 65 |
"GenHealth": [
|
| 66 |
-
|
| 67 |
-
|
| 68 |
]
|
| 69 |
},
|
| 70 |
"model": {
|
|
|
|
| 19 |
],
|
| 20 |
"example_input":{
|
| 21 |
"AgeCategory": [
|
| 22 |
+
0,
|
| 23 |
+
1
|
| 24 |
],
|
| 25 |
"Stroke": [
|
| 26 |
0,
|
|
|
|
| 47 |
0
|
| 48 |
],
|
| 49 |
"BMI": [
|
| 50 |
+
0,
|
| 51 |
+
1
|
| 52 |
],
|
| 53 |
"Asthma": [
|
| 54 |
1,
|
|
|
|
| 63 |
0
|
| 64 |
],
|
| 65 |
"GenHealth": [
|
| 66 |
+
0,
|
| 67 |
+
1
|
| 68 |
]
|
| 69 |
},
|
| 70 |
"model": {
|