Update urban_tree_canopy_in_durham2.py
Browse files
urban_tree_canopy_in_durham2.py
CHANGED
@@ -285,6 +285,9 @@ class Urban_Tree_Canopy_in_Durham2(DatasetBuilder):
|
|
285 |
|
286 |
# Show the plot
|
287 |
plt.show()
|
|
|
|
|
|
|
288 |
# Usage example:
|
289 |
# data_processor = DataProcessor()
|
290 |
# for key, example in data_processor._generate_examples(csv_path, zip_path, geojson_zip_path):
|
|
|
285 |
|
286 |
# Show the plot
|
287 |
plt.show()
|
288 |
+
def load_dataset():
|
289 |
+
builder = UrbanTreeCanopyInDurham2()
|
290 |
+
return builder.as_dataset()
|
291 |
# Usage example:
|
292 |
# data_processor = DataProcessor()
|
293 |
# for key, example in data_processor._generate_examples(csv_path, zip_path, geojson_zip_path):
|