test
Browse files
zillow.py
CHANGED
@@ -93,7 +93,7 @@ class NewDataset(datasets.GeneratorBasedBuilder):
|
|
93 |
features = datasets.Features(
|
94 |
{
|
95 |
# "RegionID": datasets.Value("RegionID"),
|
96 |
-
"SizeRank": datasets.Value("SizeRank"),
|
97 |
# "RegionName": datasets.Value("RegionName"),
|
98 |
# These are the features of your dataset like images, labels ...
|
99 |
}
|
@@ -136,7 +136,7 @@ class NewDataset(datasets.GeneratorBasedBuilder):
|
|
136 |
file_path = os.path.join('processed', "final.csv")
|
137 |
print('*********************')
|
138 |
print(file_path)
|
139 |
-
file_train = dl_manager.download(
|
140 |
# file_test = dl_manager.download(os.path.join(self.config.name, "test.csv"))
|
141 |
# file_eval = dl_manager.download(os.path.join(self.config.name, "valid.csv"))
|
142 |
return [
|
|
|
93 |
features = datasets.Features(
|
94 |
{
|
95 |
# "RegionID": datasets.Value("RegionID"),
|
96 |
+
"SizeRank": datasets.Value(dtype='string', id="SizeRank"),
|
97 |
# "RegionName": datasets.Value("RegionName"),
|
98 |
# These are the features of your dataset like images, labels ...
|
99 |
}
|
|
|
136 |
file_path = os.path.join('processed', "final.csv")
|
137 |
print('*********************')
|
138 |
print(file_path)
|
139 |
+
file_train = dl_manager.download(file_path)
|
140 |
# file_test = dl_manager.download(os.path.join(self.config.name, "test.csv"))
|
141 |
# file_eval = dl_manager.download(os.path.join(self.config.name, "valid.csv"))
|
142 |
return [
|