mstz commited on
Commit
69d4f0c
·
1 Parent(s): 50b4b3b

Upload hypo.py

Browse files
Files changed (1) hide show
  1. hypo.py +3 -2
hypo.py CHANGED
@@ -14,7 +14,8 @@ _ENCODING_DICS = {
14
  "class": {
15
  "negative": 0,
16
  "compensatedhypothyroid": 1,
17
- "primaryhypothyroid": 2
 
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=3, names=("negative", "compensated hypothyroid", "primary hypothyroid"))
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"),