-
Notifications
You must be signed in to change notification settings - Fork 0
/
RunCreateParallel.m
53 lines (49 loc) · 1.6 KB
/
RunCreateParallel.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
42
43
44
45
46
47
48
49
50
51
52
53
%CreateParallel Bash scripts for ori discrimination o nthe S03
%% Preparation
% parallel_fun = 'parallelFun_s03_part1.m'
% job_list1 = [1,2,3];
% job_list2 = [1,2,3];
% job_list3 = [1];
% parallel_fun_dir = '~/MVPA_Scripts/';
% job_name = 'OriDecoderPrep';
%
% create_parallel_S03(parallel_fun, job_list1, job_list2, job_list3, parallel_fun_dir, job_name)
%% Decoder
% parallel_fun = 'parallelFun_s03_part2.m'
% job_list1 = [1,2,3];
% job_list2 = [1,2,3];
% job_list3 = [1:36];
% parallel_fun_dir = '~/MVPA_Scripts/';
% job_name = 'OriDecoder';
%
% disp('Running create_parallel_S03')
% create_parallel_S03(parallel_fun, job_list1, job_list2, job_list3, parallel_fun_dir, job_name)
% %% ALL STIMULUS
parallel_fun = 'parallelFun_SARA'
job_list1 = [1,2,3,4]; %MOUSE
job_list2 = [1,2,3,4]; %TW
job_list3 = [1,2,3]; %ReactionOpt
parallel_fun_dir = '"$TMPDIR"/MVPA_Scripts/';
job_name = 'StimDecoder';
% for i_one = job_list1
% for i_two = job_list2
% FG_MVPA_SVM_RFE(i_one,i_two)
% end
% end
disp('Running create_parallel_SARA')
create_parallel_SARA(parallel_fun, job_list1, job_list2, job_list3, parallel_fun_dir, job_name)
%% ALL REACTION
% parallel_fun = 'parallelFun_SARA_Reaction'
% job_list1 = [1,2,3,4]; %MOUSE
% job_list2 = [1,2,3,4]; %TW
% % job_list3 = [1,2,3]; %ReactionOpt
% parallel_fun_dir = '"$TMPDIR"/MVPA_Scripts/';
% job_name = 'ReactionDecoder';
% % for i_one = job_list1
% % for i_two = job_list2
% % FG_MVPA_SVM_RFE(i_one,i_two)
% % end
% % end
%
% disp('Running create_parallel_SARA')
% create_parallel_SARA_Reaction(parallel_fun, job_list1, job_list2, parallel_fun_dir, job_name)