From 381c80a81aa5dae9ff40419a5dd7435bddf4eabe Mon Sep 17 00:00:00 2001 From: Michael Duong Date: Sat, 19 Aug 2023 14:47:34 +0000 Subject: [PATCH] Due to git error, move residual file to a git recognised folder --- model_data/simulation_system/training.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/model_data/simulation_system/training.py b/model_data/simulation_system/training.py index d0a2c8ac..2a01485c 100644 --- a/model_data/simulation_system/training.py +++ b/model_data/simulation_system/training.py @@ -145,6 +145,8 @@ def training( plt.tight_layout() RESIDUAL_FILE = "residuals.png" plt.savefig(output_base / METRICS_FOLDER / RESIDUAL_FILE, dpi=120) + plt.savefig(RESIDUAL_FILE, dpi=120) + # TODO: introduce a seperate script for model optimisation, and from there, optimise for deployment # Imagining for now that the model trained here is the best model amongst all models built