misikoff commited on
Commit
a6f1f9e
1 Parent(s): a4527fb

fix: add home type and remove region type

Browse files
Files changed (1) hide show
  1. zillow.py +6 -6
zillow.py CHANGED
@@ -260,13 +260,13 @@ class Zillow(datasets.GeneratorBasedBuilder):
260
  "Region ID": datasets.Value(dtype="string", id="Region ID"),
261
  "Size Rank": datasets.Value(dtype="int32", id="Size Rank"),
262
  "Region": datasets.Value(dtype="string", id="Region"),
263
- "Region Type": datasets.ClassLabel(
264
- num_classes=len(REGION_TYPES), names=REGION_TYPES
265
- ),
266
- "State": datasets.Value(dtype="string", id="State"),
267
- # "Home Type": datasets.ClassLabel(
268
- # num_classes=len(HOME_TYPES), names=HOME_TYPES
269
  # ),
 
 
 
 
270
  "Bedroom Count": datasets.ClassLabel(
271
  num_classes=6,
272
  names=[
 
260
  "Region ID": datasets.Value(dtype="string", id="Region ID"),
261
  "Size Rank": datasets.Value(dtype="int32", id="Size Rank"),
262
  "Region": datasets.Value(dtype="string", id="Region"),
263
+ # "Region Type": datasets.ClassLabel(
264
+ # num_classes=len(REGION_TYPES), names=REGION_TYPES
 
 
 
 
265
  # ),
266
+ "State": datasets.Value(dtype="string", id="State"),
267
+ "Home Type": datasets.ClassLabel(
268
+ num_classes=len(HOME_TYPES), names=HOME_TYPES
269
+ ),
270
  "Bedroom Count": datasets.ClassLabel(
271
  num_classes=6,
272
  names=[