Skip to content
Snippets Groups Projects
Commit 326d94fc authored by leufen1's avatar leufen1
Browse files

updated tests

parent a7ac1749
No related branches found
No related tags found
4 merge requests!468first implementation of toar-data-v2, can load data (but cannot process these...,!467Resolve "release v2.2.0",!461Merge Dev into issue400,!459Resolve "improve set keras generator speed"
Pipeline #106824 canceled
......@@ -331,7 +331,6 @@ class TestPermuteData:
class TestFProc:
@pytest.fixture
def collection(self):
coll = []
......
......@@ -140,6 +140,12 @@ class DummyData:
def __init__(self, number_of_samples=np.random.randint(100, 150)):
self.number_of_samples = number_of_samples
def __len__(self, upsampling=False):
if upsampling is False:
return self._len
else:
return self._len_upsampling
def get_X(self, upsampling=False, as_numpy=True):
X1 = np.random.randint(0, 10, size=(self.number_of_samples, 14, 1, 5)) # samples, window, variables
X2 = np.random.randint(21, 30, size=(self.number_of_samples, 10, 1, 2)) # samples, window, variables
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment