Datasets:
Upload speeddating.py
Browse files- speeddating.py +1 -1
speeddating.py
CHANGED
|
@@ -227,7 +227,7 @@ class Speeddating(datasets.GeneratorBasedBuilder):
|
|
| 227 |
else:
|
| 228 |
raise ValueError(f"Unknown config: {config}")
|
| 229 |
|
| 230 |
-
def encoding_dics(feature, value):
|
| 231 |
match feature:
|
| 232 |
case "sex":
|
| 233 |
return {
|
|
|
|
| 227 |
else:
|
| 228 |
raise ValueError(f"Unknown config: {config}")
|
| 229 |
|
| 230 |
+
def encoding_dics(self, feature, value):
|
| 231 |
match feature:
|
| 232 |
case "sex":
|
| 233 |
return {
|