From c789a6ebede967d7e9fe3d9dbfbbec443c47499b Mon Sep 17 00:00:00 2001 From: Patrick O'Hara Date: Wed, 17 Feb 2021 10:31:26 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Set=20default=20static/dynamic?= =?UTF-8?q?=20features=20to=20be=20empty?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../urbanair_parser/model/model_data_cli.py | 21 ++++--------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/containers/cleanair/cleanair/parsers/urbanair_parser/model/model_data_cli.py b/containers/cleanair/cleanair/parsers/urbanair_parser/model/model_data_cli.py index f1b896077..c1d5e71fb 100644 --- a/containers/cleanair/cleanair/parsers/urbanair_parser/model/model_data_cli.py +++ b/containers/cleanair/cleanair/parsers/urbanair_parser/model/model_data_cli.py @@ -89,25 +89,12 @@ def generate_config( show_default=True, ), static_features: List[StaticFeatureNames] = typer.Option( - [ - StaticFeatureNames.total_road_length.value, - StaticFeatureNames.total_a_road_length.value, - StaticFeatureNames.total_a_road_primary_length.value, - StaticFeatureNames.total_b_road_length.value, - StaticFeatureNames.grass.value, - StaticFeatureNames.building_height.value, - StaticFeatureNames.water.value, - StaticFeatureNames.park.value, - StaticFeatureNames.max_canyon_narrowest.value, - StaticFeatureNames.max_canyon_ratio.value, - ], - help="Features to predict on", + [], help="Spatial features that do not change over time", show_default=True, ), dynamic_features: List[DynamicFeatureNames] = typer.Option( - [ - DynamicFeatureNames.max_n_vehicles.value, - DynamicFeatureNames.avg_n_vehicles.value, - ] + [], + help="Features that change over time such as average number of vehicles. Default is no dynamic features.", + show_default=True, ), feature_buffer: List[FeatureBufferSize] = typer.Option( ["1000", "500"], help="Size of buffer for features", show_default=True