Datasets:
Upload heart.py
Browse files
heart.py
CHANGED
@@ -47,19 +47,19 @@ urls_per_split = {
|
|
47 |
}
|
48 |
features_types_per_config = {
|
49 |
"cleveland": {
|
50 |
-
"age": datasets.Value("int8")
|
51 |
-
"is_male": datasets.Value("bool")
|
52 |
-
"type_of_chest_pain": datasets.Value("string")
|
53 |
-
"resting_blood_pressure": datasets.Value("float32")
|
54 |
-
"serum_cholesterol": datasets.Value("float32")
|
55 |
-
"fasting_blood_sugar": datasets.Value("float32")
|
56 |
-
"rest_electrocardiographic_type": datasets.Value("string")
|
57 |
-
"maximum_heart_rate": datasets.Value("float32")
|
58 |
-
"has_exercise_induced_angina": datasets.Value("bool")
|
59 |
-
"depression_induced_by_exercise": datasets.Value("float32")
|
60 |
-
"slope_of_peak_exercise": datasets.Value("float32")
|
61 |
-
"number_of_major_vessels_colored_by_flourosopy": datasets.Value("int16")
|
62 |
-
"thal": datasets.Value("float32")
|
63 |
"has_hearth_disease": datasets.ClassLabel(num_classes=2, names=("no", "yes"))
|
64 |
},
|
65 |
"va": {
|
|
|
47 |
}
|
48 |
features_types_per_config = {
|
49 |
"cleveland": {
|
50 |
+
"age": datasets.Value("int8"),
|
51 |
+
"is_male": datasets.Value("bool"),
|
52 |
+
"type_of_chest_pain": datasets.Value("string"),
|
53 |
+
"resting_blood_pressure": datasets.Value("float32"),
|
54 |
+
"serum_cholesterol": datasets.Value("float32"),
|
55 |
+
"fasting_blood_sugar": datasets.Value("float32"),
|
56 |
+
"rest_electrocardiographic_type": datasets.Value("string"),
|
57 |
+
"maximum_heart_rate": datasets.Value("float32"),
|
58 |
+
"has_exercise_induced_angina": datasets.Value("bool"),
|
59 |
+
"depression_induced_by_exercise": datasets.Value("float32"),
|
60 |
+
"slope_of_peak_exercise": datasets.Value("float32"),
|
61 |
+
"number_of_major_vessels_colored_by_flourosopy": datasets.Value("int16"),
|
62 |
+
"thal": datasets.Value("float32"),
|
63 |
"has_hearth_disease": datasets.ClassLabel(num_classes=2, names=("no", "yes"))
|
64 |
},
|
65 |
"va": {
|