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

Fixed bug in initialization of input matrix.

parent b54b1fee
No related branches found
No related tags found
No related merge requests found
...@@ -7,6 +7,7 @@ TODO: Extract normalization (Combine smooth and troubled before normalizing) -> ...@@ -7,6 +7,7 @@ TODO: Extract normalization (Combine smooth and troubled before normalizing) ->
TODO: Adapt code to generate both normalized and non-normalized data -> Done TODO: Adapt code to generate both normalized and non-normalized data -> Done
TODO: Improve verbose output -> Done TODO: Improve verbose output -> Done
TODO: Change order of methods -> Done TODO: Change order of methods -> Done
TODO: Fix bug in initialization of input matrix -> Done
""" """
...@@ -89,7 +90,7 @@ class TrainingDataGenerator(object): ...@@ -89,7 +90,7 @@ class TrainingDataGenerator(object):
num_function_samples = num_samples//len(initial_conditions) num_function_samples = num_samples//len(initial_conditions)
function_id = 0 function_id = 0
input_data = np.zeros((num_samples, 5)) input_data = np.zeros((num_samples, self._stencil_length+2))
count = 0 count = 0
for i in range(num_samples): for i in range(num_samples):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment