Datasets:
Upload heart.py
Browse files
heart.py
CHANGED
@@ -63,51 +63,51 @@ features_types_per_config = {
|
|
63 |
"has_hearth_disease": datasets.ClassLabel(num_classes=2, names=("no", "yes"))
|
64 |
},
|
65 |
"va": {
|
66 |
-
"age": datasets.Value("int8")
|
67 |
-
"is_male": datasets.Value("bool")
|
68 |
-
"type_of_chest_pain": datasets.Value("string")
|
69 |
-
"resting_blood_pressure": datasets.Value("float32")
|
70 |
-
"serum_cholesterol": datasets.Value("float32")
|
71 |
-
"fasting_blood_sugar": datasets.Value("float32")
|
72 |
-
"rest_electrocardiographic_type": datasets.Value("string")
|
73 |
-
"maximum_heart_rate": datasets.Value("float32")
|
74 |
-
"has_exercise_induced_angina": datasets.Value("bool")
|
75 |
-
"depression_induced_by_exercise": datasets.Value("float32")
|
76 |
-
"slope_of_peak_exercise": datasets.Value("float32")
|
77 |
-
"number_of_major_vessels_colored_by_flourosopy": datasets.Value("int16")
|
78 |
-
"thal": datasets.Value("float32")
|
79 |
"has_hearth_disease": datasets.ClassLabel(num_classes=2, names=("no", "yes"))
|
80 |
},
|
81 |
"switzerland": {
|
82 |
-
"age": datasets.Value("int8")
|
83 |
-
"is_male": datasets.Value("bool")
|
84 |
-
"type_of_chest_pain": datasets.Value("string")
|
85 |
-
"resting_blood_pressure": datasets.Value("float32")
|
86 |
-
"serum_cholesterol": datasets.Value("float32")
|
87 |
-
"fasting_blood_sugar": datasets.Value("float32")
|
88 |
-
"rest_electrocardiographic_type": datasets.Value("string")
|
89 |
-
"maximum_heart_rate": datasets.Value("float32")
|
90 |
-
"has_exercise_induced_angina": datasets.Value("bool")
|
91 |
-
"depression_induced_by_exercise": datasets.Value("float32")
|
92 |
-
"slope_of_peak_exercise": datasets.Value("float32")
|
93 |
-
"number_of_major_vessels_colored_by_flourosopy": datasets.Value("int16")
|
94 |
-
"thal": datasets.Value("float32")
|
95 |
"has_hearth_disease": datasets.ClassLabel(num_classes=2, names=("no", "yes"))
|
96 |
},
|
97 |
"hungary": {
|
98 |
-
"age": datasets.Value("int8")
|
99 |
-
"is_male": datasets.Value("bool")
|
100 |
-
"type_of_chest_pain": datasets.Value("string")
|
101 |
-
"resting_blood_pressure": datasets.Value("float32")
|
102 |
-
"serum_cholesterol": datasets.Value("float32")
|
103 |
-
"fasting_blood_sugar": datasets.Value("float32")
|
104 |
-
"rest_electrocardiographic_type": datasets.Value("string")
|
105 |
-
"maximum_heart_rate": datasets.Value("float32")
|
106 |
-
"has_exercise_induced_angina": datasets.Value("bool")
|
107 |
-
"depression_induced_by_exercise": datasets.Value("float32")
|
108 |
-
"slope_of_peak_exercise": datasets.Value("float32")
|
109 |
-
"number_of_major_vessels_colored_by_flourosopy": datasets.Value("int16")
|
110 |
-
"thal": datasets.Value("float32")
|
111 |
"has_hearth_disease": datasets.ClassLabel(num_classes=2, names=("no", "yes"))
|
112 |
},
|
113 |
}
|
|
|
63 |
"has_hearth_disease": datasets.ClassLabel(num_classes=2, names=("no", "yes"))
|
64 |
},
|
65 |
"va": {
|
66 |
+
"age": datasets.Value("int8"),
|
67 |
+
"is_male": datasets.Value("bool"),
|
68 |
+
"type_of_chest_pain": datasets.Value("string"),
|
69 |
+
"resting_blood_pressure": datasets.Value("float32"),
|
70 |
+
"serum_cholesterol": datasets.Value("float32"),
|
71 |
+
"fasting_blood_sugar": datasets.Value("float32"),
|
72 |
+
"rest_electrocardiographic_type": datasets.Value("string"),
|
73 |
+
"maximum_heart_rate": datasets.Value("float32"),
|
74 |
+
"has_exercise_induced_angina": datasets.Value("bool"),
|
75 |
+
"depression_induced_by_exercise": datasets.Value("float32"),
|
76 |
+
"slope_of_peak_exercise": datasets.Value("float32"),
|
77 |
+
"number_of_major_vessels_colored_by_flourosopy": datasets.Value("int16"),
|
78 |
+
"thal": datasets.Value("float32"),
|
79 |
"has_hearth_disease": datasets.ClassLabel(num_classes=2, names=("no", "yes"))
|
80 |
},
|
81 |
"switzerland": {
|
82 |
+
"age": datasets.Value("int8"),
|
83 |
+
"is_male": datasets.Value("bool"),
|
84 |
+
"type_of_chest_pain": datasets.Value("string"),
|
85 |
+
"resting_blood_pressure": datasets.Value("float32"),
|
86 |
+
"serum_cholesterol": datasets.Value("float32"),
|
87 |
+
"fasting_blood_sugar": datasets.Value("float32"),
|
88 |
+
"rest_electrocardiographic_type": datasets.Value("string"),
|
89 |
+
"maximum_heart_rate": datasets.Value("float32"),
|
90 |
+
"has_exercise_induced_angina": datasets.Value("bool"),
|
91 |
+
"depression_induced_by_exercise": datasets.Value("float32"),
|
92 |
+
"slope_of_peak_exercise": datasets.Value("float32"),
|
93 |
+
"number_of_major_vessels_colored_by_flourosopy": datasets.Value("int16"),
|
94 |
+
"thal": datasets.Value("float32"),
|
95 |
"has_hearth_disease": datasets.ClassLabel(num_classes=2, names=("no", "yes"))
|
96 |
},
|
97 |
"hungary": {
|
98 |
+
"age": datasets.Value("int8"),
|
99 |
+
"is_male": datasets.Value("bool"),
|
100 |
+
"type_of_chest_pain": datasets.Value("string"),
|
101 |
+
"resting_blood_pressure": datasets.Value("float32"),
|
102 |
+
"serum_cholesterol": datasets.Value("float32"),
|
103 |
+
"fasting_blood_sugar": datasets.Value("float32"),
|
104 |
+
"rest_electrocardiographic_type": datasets.Value("string"),
|
105 |
+
"maximum_heart_rate": datasets.Value("float32"),
|
106 |
+
"has_exercise_induced_angina": datasets.Value("bool"),
|
107 |
+
"depression_induced_by_exercise": datasets.Value("float32"),
|
108 |
+
"slope_of_peak_exercise": datasets.Value("float32"),
|
109 |
+
"number_of_major_vessels_colored_by_flourosopy": datasets.Value("int16"),
|
110 |
+
"thal": datasets.Value("float32"),
|
111 |
"has_hearth_disease": datasets.ClassLabel(num_classes=2, names=("no", "yes"))
|
112 |
},
|
113 |
}
|