Datasets:
Upload hypo.py
Browse files
hypo.py
CHANGED
@@ -14,7 +14,8 @@ _ENCODING_DICS = {
|
|
14 |
"class": {
|
15 |
"negative": 0,
|
16 |
"compensatedhypothyroid": 1,
|
17 |
-
"
|
|
|
18 |
}
|
19 |
}
|
20 |
|
@@ -57,7 +58,7 @@ features_types_per_config = {
|
|
57 |
"FTI": datasets.Value("float64"),
|
58 |
"TBG_measured": datasets.Value("string"),
|
59 |
"referral_source": datasets.Value("string"),
|
60 |
-
"class": datasets.ClassLabel(num_classes=
|
61 |
},
|
62 |
"has_hypo": {
|
63 |
"age": datasets.Value("int8"),
|
|
|
14 |
"class": {
|
15 |
"negative": 0,
|
16 |
"compensatedhypothyroid": 1,
|
17 |
+
"secondaryhypothyroid": 2,
|
18 |
+
"primaryhypothyroid": 3
|
19 |
}
|
20 |
}
|
21 |
|
|
|
58 |
"FTI": datasets.Value("float64"),
|
59 |
"TBG_measured": datasets.Value("string"),
|
60 |
"referral_source": datasets.Value("string"),
|
61 |
+
"class": datasets.ClassLabel(num_classes=4, names=("negative", "compensated hypothyroid", "secondary hypothyroid", "primary hypothyroid"))
|
62 |
},
|
63 |
"has_hypo": {
|
64 |
"age": datasets.Value("int8"),
|