mstz commited on
Commit
99afcff
1 Parent(s): cbe5746

Update isolet.py

Browse files
Files changed (1) hide show
  1. isolet.py +2 -3
isolet.py CHANGED
@@ -23,7 +23,7 @@ _CITATION = """
23
 
24
  # Dataset info
25
  urls_per_split = {
26
- "train": "https://archive.ics.uci.edu/ml/machine-learning-databases/isolet/isolet1+2+3+4.data.Z"
27
  }
28
  features_types_per_config = {
29
  "isolet": {
@@ -63,8 +63,7 @@ class Isolet(datasets.GeneratorBasedBuilder):
63
  ]
64
 
65
  def _generate_examples(self, filepath: str):
66
- print(filepath)
67
- data = pandas.read_csv(filepath, header=None)
68
  data = self.preprocess(data, config=self.config.name)
69
 
70
  for row_id, row in data.iterrows():
 
23
 
24
  # Dataset info
25
  urls_per_split = {
26
+ "train": "https://github.com/riccotti/InterpretableModels/raw/master/datasets/isolet.data.gz"
27
  }
28
  features_types_per_config = {
29
  "isolet": {
 
63
  ]
64
 
65
  def _generate_examples(self, filepath: str):
66
+ data = pandas.read_csv(filepath, header=None, compression="gzip")
 
67
  data = self.preprocess(data, config=self.config.name)
68
 
69
  for row_id, row in data.iterrows():