Datasets:
Upload lrs.py
Browse files
lrs.py
CHANGED
@@ -1161,10 +1161,4 @@ class Lrs(datasets.GeneratorBasedBuilder):
|
|
1161 |
if self.config.name == "lrs_8":
|
1162 |
data.loc[:, "lrs_class"] = data["lrs_class"].apply(lambda x: 1 if x == 8 else 0)
|
1163 |
|
1164 |
-
print("Done w/ preprocessing\n\n\n\n\n")
|
1165 |
-
print(data.dtypes.values)
|
1166 |
-
print(data.lrs_class.unique().size)
|
1167 |
-
print("Done w/ preprocessing\n\n\n\n\n")
|
1168 |
-
|
1169 |
-
|
1170 |
return data
|
|
|
1161 |
if self.config.name == "lrs_8":
|
1162 |
data.loc[:, "lrs_class"] = data["lrs_class"].apply(lambda x: 1 if x == 8 else 0)
|
1163 |
|
|
|
|
|
|
|
|
|
|
|
|
|
1164 |
return data
|