Skip to content

Commit

Permalink
update data creation scripts to only produce as many data files as us…
Browse files Browse the repository at this point in the history
…ed in experiments
  • Loading branch information
BethanyL committed Apr 16, 2018
1 parent 4554fc4 commit 6630972
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion data/DiscreteSpectrumExample.m
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
2 changes: 1 addition & 1 deletion data/FluidFlowBox.m
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
2 changes: 1 addition & 1 deletion data/FluidFlowOnAttractor.m
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
2 changes: 1 addition & 1 deletion data/Pendulum.m
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 6630972

Please sign in to comment.