From 39ed488bd4b0428c54a14a58eb7926b0621669c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=BChle=2C=20Laura=20Christine=20=28lakue103=29?= <laura.kuehle@uni-duesseldorf.de> Date: Mon, 28 Feb 2022 12:13:46 +0100 Subject: [PATCH] Removed completed TODOs. --- ANN_Training.py | 15 ++++----------- DG_Approximation.py | 5 +++++ 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/ANN_Training.py b/ANN_Training.py index 638f94d..c22dbe8 100644 --- a/ANN_Training.py +++ b/ANN_Training.py @@ -5,20 +5,13 @@ Code-Style: E226, W503 Docstring-Style: D200, D400 -TODO: Test new ANN set-up with Soraya -TODO: Remove object set-up (for more flexibility) -> Done - (decided against it to keep easy test set-up) TODO: Add documentation -TODO: Allow multiple approximations in one config -> Done -TODO: Split workflow into multiple modules -> Done -TODO: Remove unnecessary instance variables -> Done -TODO: Add option to change 'num_iterations' for model testing -> Done -TODO: Save model evaluation data -> Done TODO: Add README for ANN training TODO: Fix random seed -TODO: Discuss whether to outsource scripts into separate directory -TODO: Discuss whether comparison between datasets is wanted -TODO: Discuss whether default model state is useful +TODO: Write-protect all data and models +TODO: Put legend outside plot (bbox_to_anchor) +TODO: Put plotting into separate function +TODO: Reduce number of testing epochs to 50 """ import numpy as np diff --git a/DG_Approximation.py b/DG_Approximation.py index 1785e79..fef6c67 100644 --- a/DG_Approximation.py +++ b/DG_Approximation.py @@ -20,6 +20,11 @@ TODO: Rename files according to standard TODO: Add verbose output TODO: Adapt TCD from Soraya (Dropbox->...->TEST_troubled-cell-detector->Troubled_Cell_Detector) TODO: Improve file naming (e.g. use '.' instead of '__') +TODO: Add way of saving data (np.savez('data/' + name, + coefficients=projection, troubled_cells=troubled_cells) ) +TODO: Outsource scripts into separate directory +TODO: Allow comparison between ANN training datasets +TODO: Add a default model state """ import os -- GitLab