mstz commited on
Commit
d994418
·
1 Parent(s): 7892491

Update arhythmia.py

Browse files
Files changed (1) hide show
  1. arhythmia.py +3 -4
arhythmia.py CHANGED
@@ -1,5 +1,4 @@
1
  from typing import List
2
- from functools import partial
3
 
4
  import datasets
5
 
@@ -311,17 +310,17 @@ features_types_per_config = {
311
  features_per_config = {k: datasets.Features(features_types_per_config[k]) for k in features_types_per_config}
312
 
313
 
314
- class ArrhythmiaConfig(datasets.BuilderConfig):
315
  def __init__(self, **kwargs):
316
  super(ArrhythmiaConfig, self).__init__(version=VERSION, **kwargs)
317
  self.features = features_per_config[kwargs["name"]]
318
 
319
 
320
- class Arrhythmia(datasets.GeneratorBasedBuilder):
321
  # dataset versions
322
  DEFAULT_CONFIG = "arhythmia"
323
  BUILDER_CONFIGS = [
324
- ArrhythmiaConfig(name="arhythmia",
325
  description="Multiclass classification of arhythmia type."),
326
  ]
327
 
 
1
  from typing import List
 
2
 
3
  import datasets
4
 
 
310
  features_per_config = {k: datasets.Features(features_types_per_config[k]) for k in features_types_per_config}
311
 
312
 
313
+ class ArhythmiaConfig(datasets.BuilderConfig):
314
  def __init__(self, **kwargs):
315
  super(ArrhythmiaConfig, self).__init__(version=VERSION, **kwargs)
316
  self.features = features_per_config[kwargs["name"]]
317
 
318
 
319
+ class Arhythmia(datasets.GeneratorBasedBuilder):
320
  # dataset versions
321
  DEFAULT_CONFIG = "arhythmia"
322
  BUILDER_CONFIGS = [
323
+ ArhythmiaConfig(name="arhythmia",
324
  description="Multiclass classification of arhythmia type."),
325
  ]
326