Datasets:
Upload 2 files
Browse files- nursery.data +0 -0
- nursery.py +2 -1
nursery.data
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
nursery.py
CHANGED
@@ -39,7 +39,8 @@ features_types_per_config = {
|
|
39 |
"is_family_financially_stable": datasets.Value("bool"),
|
40 |
"social_status": datasets.Value("string"),
|
41 |
"health_status": datasets.Value("string"),
|
42 |
-
"recommendation": datasets.ClassLabel(num_classes=
|
|
|
43 |
},
|
44 |
"nursery_binary": {
|
45 |
"parents_attitude": datasets.Value("string"),
|
|
|
39 |
"is_family_financially_stable": datasets.Value("bool"),
|
40 |
"social_status": datasets.Value("string"),
|
41 |
"health_status": datasets.Value("string"),
|
42 |
+
"recommendation": datasets.ClassLabel(num_classes=5, names=("not recommended", "recommended", "priority recommendation",
|
43 |
+
"highly recommended", "specifically recommended"))
|
44 |
},
|
45 |
"nursery_binary": {
|
46 |
"parents_attitude": datasets.Value("string"),
|