-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrapper.m
More file actions
45 lines (42 loc) · 1.64 KB
/
Copy pathwrapper.m
File metadata and controls
45 lines (42 loc) · 1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
close all;
%fclose all;
clear all;
cancerType = 'LUSC';
OutputFolder = ['/home/lcoop22/TorqueOut/' cancerType '/'];
Prefix = 'Torque.';
%% TODO: SET EXPERIMENT PARAMETERS
stepSizeMin = 5e-3;
stepSizeMax = 1e-2;
maxiter = 300;
pretrainV = [1];
augment = 1;
dropoutFractionV = [0 0.5];
learningRateV = [1];
maxLayersInExperiment = 10;
minLayersInExperiment = 2;
hSizeV = [20 40 60 80 100 120 140];
jumpLayers = 1;
inputZeroMaskedFraction = 0;
K = 3;
testApproach = 0; % do not do k-fold cvls ls
randLastLayerV = [0];
randAllLayersV = [0];
removeBiasInCindex = 0;
for id = minLayersInExperiment:jumpLayers:maxLayersInExperiment
for pretrain = pretrainV
for hSize = hSizeV
for dropoutFraction = dropoutFractionV
for learningRate = learningRateV
for randLastLayer = randLastLayerV
for randAllLayers = randAllLayersV
idstr = ['hs' num2str(hSize) '-do' num2str(dropoutFraction) '-i' num2str(maxiter) '-ss' num2str(stepSizeMax) '-pretrain' num2str(pretrain)];
mkdir(['/home/syouse3/git/survivalnet/survivalnet/NNSA-master/' cancerType '_results/' idstr]);
path = ['/home/syouse3/git/survivalnet/survivalnet/NNSA-master/' cancerType '_results/' idstr '/'];
JobGen(pretrain, hSize, augment, id, stepSizeMax, stepSizeMin, maxiter, learningRate, dropoutFraction, inputZeroMaskedFraction, K, testApproach, randLastLayer, randAllLayers, removeBiasInCindex, path);
end
end
end
end
end
end
end