-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSetParams_AccVsNumGenes.m
41 lines (34 loc) · 1.2 KB
/
SetParams_AccVsNumGenes.m
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
function params = SetParams_AccVsNumGenes()
%Set vars
cols = 19114; %STATIC
params.cols = cols; %STATIC
%MAIN PARAMS (!!)
params.sizeSampleSubset = cols; %!VARIABLE!
params.area = 'Isocortex';
%TREE
params.costFunction = 'balanced';
%CV
params.numFolds = 10;
%noise
params.noiseStDev = 1;
params.numNoiseIterations = 5;
%--------------------------------------------------------------------
%JUST FOR THIS SCRIPT
%--------------------------------------------------------------------
%num genes
params.prevBestGenes = [];
params.maxNumGenesInDT = 10;
%STOPPING CRIT
%i.e. stop adding genes after accuracy decreases either 1ce or 2ce
%0 means no stopping criterion
params.stoppingCrit = 0;
%FILE NAME
today = date;
filename = sprintf('AccuracyVsNumGenes_%s_%d_%s_%dgenes_%diters.mat',params.area,params.sizeSampleSubset,today,params.maxNumGenesInDT,params.numNoiseIterations);
params.AccuracyVsNumGenes_filename = filename;
filename_lighter = sprintf('AccuracyVsNumGenes_%s_%d_%s_%dgenes_%diters_lighter.mat',params.area,params.sizeSampleSubset,today,params.maxNumGenesInDT,params.numNoiseIterations);
params.AccuracyVsNumGenes_filename_lighter = filename_lighter;
% %PLOTTING
% params.numplots = 5;
% params.range = 'top';
end