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
deleted file mode 100644
... ...
@@ -1,28 +0,0 @@
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
29 0
\ No newline at end of file
Browse code

more x-svm classification

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

Christoph Budziszewski authored on12/03/2009 17:15:24
Showing1 changed files
... ...
@@ -21,5 +21,8 @@ global SVMCROSSVAL_SUBJECT_PREFIX;
21 21
 SVMCROSSVAL_SUBJECT_PREFIX                        = 'subject';
22 22
 
23 23
 global SVMCROSSVAL_SUBJECTSTRUCT_NAME;
24
-SVMCROSSVAL_SUBJECTSTRUCT_NAME = 'subjectStruct';
24
+SVMCROSSVAL_SUBJECTSTRUCT_NAME                    = 'subjectStruct';
25
+
26
+global SVMCROSSVAL_PREPROCESSED_DATA_NAME;
27
+SVMCROSSVAL_PREPROCESSED_DATA_NAME                = 'preprocessedData';
25 28
 end
26 29
\ No newline at end of file
Browse code

snapshot, classification

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

Christoph Budziszewski authored on02/03/2009 18:28:41
Showing1 changed files
... ...
@@ -19,4 +19,7 @@ SVMCROSSVAL_VOXEL_SELECTION_MODE_DEF.roiImage     = 'use ROI image by pop-up ima
19 19
 global SVMCROSSVAL_SUBJECT_PREFIX;
20 20
 % internally used to prefix subject-ids starting with numbers.
21 21
 SVMCROSSVAL_SUBJECT_PREFIX                        = 'subject';
22
+
23
+global SVMCROSSVAL_SUBJECTSTRUCT_NAME;
24
+SVMCROSSVAL_SUBJECTSTRUCT_NAME = 'subjectStruct';
22 25
 end
23 26
\ No newline at end of file
Browse code

possibly working version, coord-table approach.

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

Christoph Budziszewski authored on06/02/2009 11:55:55
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,22 @@
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
+end
0 23
\ No newline at end of file