Skip to content
Snippets Groups Projects
Commit bb5ce086 authored by Laura Christine Kühle's avatar Laura Christine Kühle
Browse files

Removed completed TODOs.

parent da77cb09
No related branches found
No related tags found
No related merge requests found
...@@ -2,17 +2,7 @@ ...@@ -2,17 +2,7 @@
""" """
@author: Soraya Terrab (sorayaterrab), Laura C. Kühle @author: Soraya Terrab (sorayaterrab), Laura C. Kühle
TODO: Adjust code to fit style -> Done
TODO: Adapt variable names to fit style -> Done
TODO: Remove np.transpose() -> Done
TODO: Improve '_generate_cell_data' TODO: Improve '_generate_cell_data'
TODO: Introduce x-point stencil -> Done
TODO: Allow domains different from [-1, 1] -> Done
TODO: Ask about random value calculation in boundary interval
TODO: Use same rules for quotes ('' vs "") -> Done
TODO: Adapt file name -> Done
TODO: Add print() for log output -> Done
""" """
......
...@@ -2,6 +2,10 @@ ...@@ -2,6 +2,10 @@
""" """
@author: Laura C. Kühle, Soraya Terrab (sorayaterrab) @author: Laura C. Kühle, Soraya Terrab (sorayaterrab)
TODO: Adapt 'train()' to fit style
TODO: Add ANN testing from Soraya to ANN
TODO: Add ANN classification from Soraya to ANN
""" """
import os import os
import numpy as np import numpy as np
...@@ -187,6 +191,13 @@ class ArtificialNeuralNetwork(TroubledCellDetector): ...@@ -187,6 +191,13 @@ class ArtificialNeuralNetwork(TroubledCellDetector):
def _reset(self, config): def _reset(self, config):
super()._reset(config) super()._reset(config)
# training_dir = config.pop('data_dir', 'data')
# training_file = config.pop('training_set', 'smooth_0.01k__troubled_0.01k__normalized.npy')
# validation_file = config.pop('validation_set', 'smooth_0.01k__troubled_0.01k__normalized.npy')
# test_file = config.pop('test_set', 'smooth_0.01k__troubled_0.01k__normalized.npy')
# batch_size = config.pop('batch_size', 500)
# self._training_data = {'train': [], 'validation': [], 'test': []}
def get_cells(self, projection): def get_cells(self, projection):
pass pass
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment