Browse code

testing result tree

git-svn-id: https://svn.discofish.de/MATLAB/spmtoolbox/SVMCrossVal@1167 83ab2cfd-5345-466c-8aeb-2b2739fb922d

Christoph Budziszewski authored on24/03/2017 02:58:58
Showing1 changed files
... ...
@@ -1,10 +1,13 @@
1 1
 function defineGlobals()
2 2
 
3 3
 global SVMCROSSVAL_TOOLBOXPATH;
4
-SVMCROSSVAL_TOOLBOXPATH = fullfile(getSpmPath,'toolbox','SVMCrossVal');
4
+%SVMCROSSVAL_TOOLBOXPATH = fullfile(getSpmPath,'toolbox','SVMCrossVal');
5
+SVMCROSSVAL_TOOLBOXPATH = '/home/chris/MATLAB/spmtoolbox/SVMCrossVal';
5 6
 
6 7
 global SVMCROSSVAL_STUDYDIR;
7
-SVMCROSSVAL_STUDYDIR = fullfile(SVMCROSSVAL_TOOLBOXPATH,'study');
8
+%SVMCROSSVAL_STUDYDIR = fullfile(SVMCROSSVAL_TOOLBOXPATH,'study');
9
+SVMCROSSVAL_STUDYDIR = fullfile('/home/chris/MATLAB/spmtoolbox/SVMCrossVal','study');
10
+
8 11
 
9 12
 global SVMCROSSVAL_SUBJECT_PREFIX;
10 13
 SVMCROSSVAL_SUBJECT_PREFIX                        = 'subject';
Browse code

spatial and temporal grouping functionality

git-svn-id: https://svn.discofish.de/MATLAB/spmtoolbox/SVMCrossVal@202 83ab2cfd-5345-466c-8aeb-2b2739fb922d

Christoph Budziszewski authored on03/08/2009 16:18:15
Showing1 changed files
... ...
@@ -1,35 +1,15 @@
1 1
 function defineGlobals()
2
-global SVMCROSSVAL_SPMDIR;
2
+
3 3
 global SVMCROSSVAL_TOOLBOXPATH;
4
-SVMCROSSVAL_TOOLBOXPATH = fullfile(SVMCROSSVAL_SPMDIR,'toolbox','SVMCrossVal');
4
+SVMCROSSVAL_TOOLBOXPATH = fullfile(getSpmPath,'toolbox','SVMCrossVal');
5 5
 
6 6
 global SVMCROSSVAL_STUDYDIR;
7 7
 SVMCROSSVAL_STUDYDIR = fullfile(SVMCROSSVAL_TOOLBOXPATH,'study');
8 8
 
9
-%define global constants
10
-global SVMCROSSVAL_USE_DRIVE_CHECK_HACK;
11
-%enables subroutine to check if image path starts with 'D'
12
-SVMCROSSVAL_USE_DRIVE_CHECK_HACK                  = 1;  
13
-
14
-global SVMCROSSVAL_CROSSVAL_METHOD_DEF;
15
-% supported classification methods
16
-SVMCROSSVAL_CROSSVAL_METHOD_DEF.svmcrossval       = 'svm crossval';
17
-SVMCROSSVAL_CROSSVAL_METHOD_DEF.classPerformance  = 'svm class performance';
18
-SVMCROSSVAL_CROSSVAL_METHOD_DEF.crossSubject      = 'svm across subject testing';
19
-SVMCROSSVAL_CROSSVAL_METHOD_DEF.somTraining       = 'som Training';
20
-
21
-global SVMCROSSVAL_VOXEL_SELECTION_MODE_DEF;
22
-% supported voxel selection methods
23
-SVMCROSSVAL_VOXEL_SELECTION_MODE_DEF.manualGui    = 'manually defined in GUI';
24
-SVMCROSSVAL_VOXEL_SELECTION_MODE_DEF.roiImage     = 'use ROI image by pop-up image selector';
25
-
26 9
 global SVMCROSSVAL_SUBJECT_PREFIX;
27
-% internally used to prefix subject-ids starting with numbers.
28 10
 SVMCROSSVAL_SUBJECT_PREFIX                        = 'subject';
29 11
 
30 12
 global SVMCROSSVAL_SUBJECTSTRUCT_NAME;
31 13
 SVMCROSSVAL_SUBJECTSTRUCT_NAME                    = 'subjectStruct';
32 14
 
33
-global SVMCROSSVAL_PREPROCESSED_DATA_NAME;
34
-SVMCROSSVAL_PREPROCESSED_DATA_NAME                = 'preprocessedData';
35 15
 end
36 16
\ No newline at end of file
Browse code

first eventually working study switch functionality

git-svn-id: https://svn.discofish.de/MATLAB/spmtoolbox/SVMCrossVal@198 83ab2cfd-5345-466c-8aeb-2b2739fb922d

Christoph Budziszewski authored on29/07/2009 15:51:21
Showing1 changed files
... ...
@@ -1,4 +1,11 @@
1 1
 function defineGlobals()
2
+global SVMCROSSVAL_SPMDIR;
3
+global SVMCROSSVAL_TOOLBOXPATH;
4
+SVMCROSSVAL_TOOLBOXPATH = fullfile(SVMCROSSVAL_SPMDIR,'toolbox','SVMCrossVal');
5
+
6
+global SVMCROSSVAL_STUDYDIR;
7
+SVMCROSSVAL_STUDYDIR = fullfile(SVMCROSSVAL_TOOLBOXPATH,'study');
8
+
2 9
 %define global constants
3 10
 global SVMCROSSVAL_USE_DRIVE_CHECK_HACK;
4 11
 %enables subroutine to check if image path starts with 'D'
Browse code

spm2 compatibility, start change study

git-svn-id: https://svn.discofish.de/MATLAB/spmtoolbox/SVMCrossVal@195 83ab2cfd-5345-466c-8aeb-2b2739fb922d

Christoph Budziszewski authored on22/05/2009 11:16:41
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,28 @@
1
+function defineGlobals()
2
+%define global constants
3
+global SVMCROSSVAL_USE_DRIVE_CHECK_HACK;
4
+%enables subroutine to check if image path starts with 'D'
5
+SVMCROSSVAL_USE_DRIVE_CHECK_HACK                  = 1;  
6
+
7
+global SVMCROSSVAL_CROSSVAL_METHOD_DEF;
8
+% supported classification methods
9
+SVMCROSSVAL_CROSSVAL_METHOD_DEF.svmcrossval       = 'svm crossval';
10
+SVMCROSSVAL_CROSSVAL_METHOD_DEF.classPerformance  = 'svm class performance';
11
+SVMCROSSVAL_CROSSVAL_METHOD_DEF.crossSubject      = 'svm across subject testing';
12
+SVMCROSSVAL_CROSSVAL_METHOD_DEF.somTraining       = 'som Training';
13
+
14
+global SVMCROSSVAL_VOXEL_SELECTION_MODE_DEF;
15
+% supported voxel selection methods
16
+SVMCROSSVAL_VOXEL_SELECTION_MODE_DEF.manualGui    = 'manually defined in GUI';
17
+SVMCROSSVAL_VOXEL_SELECTION_MODE_DEF.roiImage     = 'use ROI image by pop-up image selector';
18
+
19
+global SVMCROSSVAL_SUBJECT_PREFIX;
20
+% internally used to prefix subject-ids starting with numbers.
21
+SVMCROSSVAL_SUBJECT_PREFIX                        = 'subject';
22
+
23
+global SVMCROSSVAL_SUBJECTSTRUCT_NAME;
24
+SVMCROSSVAL_SUBJECTSTRUCT_NAME                    = 'subjectStruct';
25
+
26
+global SVMCROSSVAL_PREPROCESSED_DATA_NAME;
27
+SVMCROSSVAL_PREPROCESSED_DATA_NAME                = 'preprocessedData';
28
+end
0 29
\ No newline at end of file