From 6630972d8419bcae7bb5e633b7804b9c56edd981 Mon Sep 17 00:00:00 2001 From: Bethany Lusch Date: Mon, 16 Apr 2018 16:16:44 -0700 Subject: [PATCH] update data creation scripts to only produce as many data files as used in experiments --- data/DiscreteSpectrumExample.m | 2 +- data/FluidFlowBox.m | 2 +- data/FluidFlowOnAttractor.m | 2 +- data/Pendulum.m | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/data/DiscreteSpectrumExample.m b/data/DiscreteSpectrumExample.m index c118963..2c78a32 100644 --- a/data/DiscreteSpectrumExample.m +++ b/data/DiscreteSpectrumExample.m @@ -18,7 +18,7 @@ filename_val = strcat(filenamePrefix, '_val_x.csv'); dlmwrite(filename_val, X_val, 'precision', '%.14f') -for j = 1:10 +for j = 1:3 seed = 2+j; X_train = DiscreteSpectrumExampleFn(x1range, x2range, round(.7*numICs), tSpan, mu, lambda, seed); filename_train = strcat(filenamePrefix, sprintf('_train%d_x.csv',j)); diff --git a/data/FluidFlowBox.m b/data/FluidFlowBox.m index 52fb461..b559212 100644 --- a/data/FluidFlowBox.m +++ b/data/FluidFlowBox.m @@ -18,7 +18,7 @@ filename_val = strcat(filenamePrefix, '_val_x.csv'); dlmwrite(filename_val, X_val, 'precision', '%.14f') -for j = 1:20 +for j = 1:4 seed = 2+j; X_train = FluidFlowBoxFn(x1range, x2range, x3range, numTest_ICs, tSpan, seed, max_x3); filename_train = strcat(filenamePrefix, sprintf('_train%d_x.csv', j)); diff --git a/data/FluidFlowOnAttractor.m b/data/FluidFlowOnAttractor.m index acb340f..bc28ab5 100644 --- a/data/FluidFlowOnAttractor.m +++ b/data/FluidFlowOnAttractor.m @@ -17,7 +17,7 @@ filename_val = strcat(filenamePrefix, '_val_x.csv'); dlmwrite(filename_val, X_val, 'precision', '%.14f') -for j = 1:20 +for j = 1:3 seed = 2+j; X_train = FluidFlowOnAttractorFn(Rrange, Trange, numTest_ICs, tSpan, seed); filename_train = strcat(filenamePrefix, sprintf('_train%d_x.csv', j)); diff --git a/data/Pendulum.m b/data/Pendulum.m index 668bbd7..3335e58 100644 --- a/data/Pendulum.m +++ b/data/Pendulum.m @@ -18,7 +18,7 @@ filename_val = strcat(filenamePrefix, '_val_x.csv'); dlmwrite(filename_val, X_val, 'precision', '%.14f') -for j = 1:10 +for j = 1:6 seed = 2+j; X_train = PendulumFn(x1range, x2range, round(.7*numICs), tSpan, seed, max_potential); filename_train = strcat(filenamePrefix, sprintf('_train%d_x.csv', j));