test
Browse files
zillow.py
CHANGED
@@ -133,10 +133,10 @@ class NewDataset(datasets.GeneratorBasedBuilder):
|
|
133 |
"Home Type": datasets.Value(dtype="string", id="Home Type"),
|
134 |
"Date": datasets.Value(dtype="string", id="Date"),
|
135 |
"Sale Price": datasets.Value(dtype="float32", id="Sale Price"),
|
136 |
-
"
|
137 |
-
dtype="float32", id="
|
138 |
),
|
139 |
-
"
|
140 |
# These are the features of your dataset like images, labels ...
|
141 |
}
|
142 |
)
|
@@ -256,8 +256,8 @@ class NewDataset(datasets.GeneratorBasedBuilder):
|
|
256 |
"Home Type": data["Home Type"],
|
257 |
"Date": data["Date"],
|
258 |
"Sale Price": data["Sale Price"],
|
259 |
-
"
|
260 |
-
"
|
261 |
# "answer": "" if split == "test" else data["answer"],
|
262 |
}
|
263 |
# else:
|
|
|
133 |
"Home Type": datasets.Value(dtype="string", id="Home Type"),
|
134 |
"Date": datasets.Value(dtype="string", id="Date"),
|
135 |
"Sale Price": datasets.Value(dtype="float32", id="Sale Price"),
|
136 |
+
"Sale Price per Sqft": datasets.Value(
|
137 |
+
dtype="float32", id="Sale Price per Sqft"
|
138 |
),
|
139 |
+
"Count": datasets.Value(dtype="int32", id="Count"),
|
140 |
# These are the features of your dataset like images, labels ...
|
141 |
}
|
142 |
)
|
|
|
256 |
"Home Type": data["Home Type"],
|
257 |
"Date": data["Date"],
|
258 |
"Sale Price": data["Sale Price"],
|
259 |
+
"Sale Price per Sqft": data["Sale Price per Sqft"],
|
260 |
+
"Count": data["Count"],
|
261 |
# "answer": "" if split == "test" else data["answer"],
|
262 |
}
|
263 |
# else:
|