Datasets:
Update arhythmia.py
Browse files- arhythmia.py +1 -1
arhythmia.py
CHANGED
@@ -304,7 +304,7 @@ features_types_per_config = {
|
|
304 |
"amplitude_of_t_wave_on_V6": datasets.Value("float64"),
|
305 |
"qrsa_on_V6": datasets.Value("float64"),
|
306 |
"qrsta_on_V6": datasets.Value("float64"),
|
307 |
-
"type_of_arhythmia": datasets.ClassLabel(num_classes=16, names=["no_arhytmia"] + ["arhytmia_of_type_{f}" for f in range(2, 16)] + ["unknown_arhytmia"])
|
308 |
}
|
309 |
}
|
310 |
features_per_config = {k: datasets.Features(features_types_per_config[k]) for k in features_types_per_config}
|
|
|
304 |
"amplitude_of_t_wave_on_V6": datasets.Value("float64"),
|
305 |
"qrsa_on_V6": datasets.Value("float64"),
|
306 |
"qrsta_on_V6": datasets.Value("float64"),
|
307 |
+
"type_of_arhythmia": datasets.ClassLabel(num_classes=16, names=["no_arhytmia"] + [f"arhytmia_of_type_{f}" for f in range(2, 16)] + ["unknown_arhytmia"])
|
308 |
}
|
309 |
}
|
310 |
features_per_config = {k: datasets.Features(features_types_per_config[k]) for k in features_types_per_config}
|