mstz commited on
Commit
ca5ca26
·
1 Parent(s): 7d9afec

Upload higgs.py

Browse files
Files changed (1) hide show
  1. higgs.py +1 -2
higgs.py CHANGED
@@ -57,7 +57,7 @@ _CITATION = """
57
 
58
  # Dataset info
59
  urls_per_split = {
60
- "train": "https://gist.githubusercontent.com/msetzu/99114313deb9cc98318d5940fd536b06/raw/e8a2ebca490b559be84e535b1082ed2356c25be7/higgs.csv",
61
  }
62
  features_types_per_config = {
63
  "higgs": {
@@ -138,7 +138,6 @@ class Higgs(datasets.GeneratorBasedBuilder):
138
 
139
  def preprocess(self, data: pandas.DataFrame, config: str = "higgs") -> pandas.DataFrame:
140
  if config == "higgs":
141
- print(list(data.columns))
142
  return data[list(features_types_per_config[config].keys())]
143
  else:
144
  raise ValueError(f"Unknown config: {config}")
 
57
 
58
  # Dataset info
59
  urls_per_split = {
60
+ "train": "https://gist.githubusercontent.com/msetzu/99114313deb9cc98318d5940fd536b06/raw/7d4cb798cf460aa240b6b92d971009ae6790e3d0/gistfile1.txt",
61
  }
62
  features_types_per_config = {
63
  "higgs": {
 
138
 
139
  def preprocess(self, data: pandas.DataFrame, config: str = "higgs") -> pandas.DataFrame:
140
  if config == "higgs":
 
141
  return data[list(features_types_per_config[config].keys())]
142
  else:
143
  raise ValueError(f"Unknown config: {config}")