From 5235296cd57806ba8b8b63102f24bb281e26c2c5 Mon Sep 17 00:00:00 2001 From: baco Date: Tue, 12 Dec 2023 15:02:41 +0100 Subject: [PATCH 1/2] fix: change path with correct file name --- dags/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dags/config.py b/dags/config.py index 07fbc05..7bbe5e0 100644 --- a/dags/config.py +++ b/dags/config.py @@ -6,9 +6,9 @@ GENERATED_DATA_FOLDER = os.path.join(DATA_FOLDER, "generated_data") PREDICTIONS_FOLDER = os.path.join(DATA_FOLDER, 'predictions') -TRAIN_DATA_PATH = os.path.join(DATA_FOLDER, 'la-haute-borne-data-2013-2016.csv') +TRAIN_DATA_PATH = os.path.join(DATA_FOLDER, 'la-haute-borne-data-2017-2020.csv') # TODO change, should point to generator -GENERATED_DATA_PATH = os.path.join(DATA_FOLDER, 'la-haute-borne-data-2013-2016.csv') +GENERATED_DATA_PATH = os.path.join(DATA_FOLDER, 'la-haute-borne-data-2017-2020.csv') FEATURES_PATH = os.path.join(DATA_FOLDER, 'prepared_features.parquet') From 9b1da3316f8c636345e3d51f6fcdd40cd1104b99 Mon Sep 17 00:00:00 2001 From: baco Date: Tue, 12 Dec 2023 15:16:23 +0100 Subject: [PATCH 2/2] fix: update the data path in scripts configuration --- scripts/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/config.py b/scripts/config.py index f615e83..1fcee15 100644 --- a/scripts/config.py +++ b/scripts/config.py @@ -5,9 +5,9 @@ DATA_FOLDER = os.path.join(PROJECT_FOLDER, 'data') PREDICTIONS_FOLDER = os.path.join(DATA_FOLDER, 'predictions') -TRAIN_DATA_PATH = os.path.join(DATA_FOLDER, 'la-haute-borne-data-2013-2016.csv') +TRAIN_DATA_PATH = os.path.join(DATA_FOLDER, 'la-haute-borne-data-2017-2020.csv') GENERATED_DATA_PATH = os.path.join(DATA_FOLDER, - 'la-haute-borne-data-2013-2016.csv') # TODO change, should point to generator + 'la-haute-borne-data-2017-2020.csv') # TODO change, should point to generator FEATURES_PATH = os.path.join(DATA_FOLDER, 'prepared_features.parquet')