dec919c8fd3e9d3adcc8ee4e2e04f60dad1c1c57
Christoph Budziszewski enabled svm classification....

Christoph Budziszewski authored 15 years ago

private/main.m   1) function main(model,task,subtask)
Christoph Budziszewski zwischenspeicherung

Christoph Budziszewski authored 15 years ago

private/main.m   2) disp('RUN');
Christoph Budziszewski enabled svm classification....

Christoph Budziszewski authored 15 years ago

private/main.m   3) switch task 
private/main.m   4)     case 'pre'
private/main.m   5)         preprocess(model,subtask);
private/main.m   6)     case 'decode'
private/main.m   7)         decode(model,subtask);
Christoph Budziszewski task-models implementet.

Christoph Budziszewski authored 15 years ago

private/main.m   8)     case 'plot'
private/main.m   9)         decode_plot(model,subtask);
Christoph Budziszewski enabled svm classification....

Christoph Budziszewski authored 15 years ago

private/main.m  10) end
private/main.m  11) end
Christoph Budziszewski schwimmen.

Christoph Budziszewski authored 15 years ago

private/main.m  12) % disp('all warnings OFF')
private/main.m  13) % warn = warning('off','all');
private/main.m  14) 
Christoph Budziszewski enabled svm classification....

Christoph Budziszewski authored 15 years ago

private/main.m  15) 
private/main.m  16) function preprocess(model,task)
private/main.m  17) % parse the GUI and pass parameters as structure
private/main.m  18) 
Christoph Budziszewski zwischenspeicherung

Christoph Budziszewski authored 15 years ago

private/main.m  19) timeLine = getTimeLineParams(model);
private/main.m  20) subjects = getSubjectCellList(model);
private/main.m  21) classDef = parseClassDef(model);
Christoph Budziszewski coordTabel works for JZ006

Christoph Budziszewski authored 15 years ago

private/main.m  22) 
private/main.m  23) mask     = ['^' cell2mat(getImageFileMask(model)) '.*\.img$'];
Christoph Budziszewski zwischenspeicherung

Christoph Budziszewski authored 15 years ago

private/main.m  24) % images
private/main.m  25) % normalization
private/main.m  26) 
private/main.m  27) switch task
private/main.m  28)     case 'COORD'
private/main.m  29)         disp('COORD');
Christoph Budziszewski enabled svm classification....

Christoph Budziszewski authored 15 years ago

private/main.m  30)        
private/main.m  31)         out = struct;
private/main.m  32)         out.header = struct;
private/main.m  33)         out.header.type = 'COORD';
private/main.m  34)         out.header.timeline = timeLine;
private/main.m  35)         out.header.classDef = classDef;
private/main.m  36)         
Christoph Budziszewski coordTabel works for JZ006

Christoph Budziszewski authored 15 years ago

private/main.m  37)         coordargs = struct;
Christoph Budziszewski enabled svm classification....

Christoph Budziszewski authored 15 years ago

private/main.m  38)         coordargs.subjects      = subjects;
private/main.m  39)         coordargs.timeline      = timeLine;
private/main.m  40)         coordargs.basedir       = model.baseDir;
private/main.m  41)         coordargs.sessionList   = 1:3;
private/main.m  42)         coordargs.eventList     = classDef.eventMatrix;
private/main.m  43)         coordargs.coords        = parseCoordinateTextField(model);
private/main.m  44)         coordargs.mask          = mask;
Christoph Budziszewski enabled radius. but does no...

Christoph Budziszewski authored 15 years ago

private/main.m  45)         coordargs.radius        = getSearchlightRadius(model);
Christoph Budziszewski enabled svm classification....

Christoph Budziszewski authored 15 years ago

private/main.m  46)         
private/main.m  47)         out.subjectdata = runCoordTable(coordargs);
Christoph Budziszewski coordTabel works for JZ006

Christoph Budziszewski authored 15 years ago

private/main.m  48)         
Christoph Budziszewski enabled svm classification....

Christoph Budziszewski authored 15 years ago

private/main.m  49)         assignin('base','preprocessedData',out);
Christoph Budziszewski roi image working

Christoph Budziszewski authored 15 years ago

private/main.m  50)         
Christoph Budziszewski zwischenspeicherung

Christoph Budziszewski authored 15 years ago

private/main.m  51)     case 'ROI'
private/main.m  52)         disp('ROI');
Christoph Budziszewski working: SingleSubject, Coo...

Christoph Budziszewski authored 15 years ago

private/main.m  53)         out = struct;
private/main.m  54)         out.header = struct;
private/main.m  55)         out.header.type = 'ROI';
private/main.m  56)         out.header.timeline = timeLine;
private/main.m  57)         out.header.classDef = classDef;
private/main.m  58)         
Christoph Budziszewski roi image working

Christoph Budziszewski authored 15 years ago

private/main.m  59)         roiargs = struct;
Christoph Budziszewski enabled svm classification....

Christoph Budziszewski authored 15 years ago

private/main.m  60)         roiargs.subjects        = subjects;
private/main.m  61)         roiargs.timeline        = timeLine;
private/main.m  62)         roiargs.classes         = classDef;
private/main.m  63)         roiargs.mask            = mask;
private/main.m  64)         roiargs.basedir         = model.baseDir;
private/main.m  65)         roiargs.sessionList     = 1:3;
private/main.m  66)         roiargs.eventList       = classDef.eventMatrix;
Christoph Budziszewski roi image working

Christoph Budziszewski authored 15 years ago

private/main.m  67)         
Christoph Budziszewski working: SingleSubject, Coo...

Christoph Budziszewski authored 15 years ago

private/main.m  68)         out.subjectdata = runROIImageMaskMode(roiargs);
private/main.m  69)         
private/main.m  70)         assignin('base','preprocessedData',out);
Christoph Budziszewski roi image working

Christoph Budziszewski authored 15 years ago

private/main.m  71)         
Christoph Budziszewski zwischenspeicherung

Christoph Budziszewski authored 15 years ago

private/main.m  72)     case 'FBS'
Christoph Budziszewski enabled svm classification....

Christoph Budziszewski authored 15 years ago

private/main.m  73)         disp('not implemented')
private/main.m  74) end
private/main.m  75) end
private/main.m  76) 
private/main.m  77) function decode(model,task)
Christoph Budziszewski more x-svm classification

Christoph Budziszewski authored 15 years ago

private/main.m  78) preprocessedData = evalin('base','preprocessedData');
Christoph Budziszewski first plot button. not work...

Christoph Budziszewski authored 15 years ago

private/main.m  79) 
private/main.m  80) header            = preprocessedData.header;
private/main.m  81) header.frameShift = getFrameShiftParams(model);
private/main.m  82) data              = preprocessedData.subjectdata;
private/main.m  83) 
Christoph Budziszewski enabled svm classification....

Christoph Budziszewski authored 15 years ago

private/main.m  84) switch task
Christoph Budziszewski snapshot, classification

Christoph Budziszewski authored 15 years ago

private/main.m  85)     case 'SVM'
Christoph Budziszewski enabled svm classification....

Christoph Budziszewski authored 15 years ago

private/main.m  86)         disp('SVM');
private/main.m  87)         svmopts    = getSvmArgs(model,1);
Christoph Budziszewski first plot button. not work...

Christoph Budziszewski authored 15 years ago

private/main.m  88)         decode = calculateMultiSubjectDecodePerformance(header,data,svmopts);
Christoph Budziszewski all enabled features workin...

Christoph Budziszewski authored 15 years ago

private/main.m  89)         decode.header = header;
Christoph Budziszewski working: SingleSubject, Coo...

Christoph Budziszewski authored 15 years ago

private/main.m  90)         assignin('base','decode',decode);
Christoph Budziszewski more x-svm classification

Christoph Budziszewski authored 15 years ago

private/main.m  91)     case 'XSVM'
Christoph Budziszewski GUI Task Switch: selfmade T...

Christoph Budziszewski authored 15 years ago

private/main.m  92)         disp('XSVM')
Christoph Budziszewski more x-svm classification

Christoph Budziszewski authored 15 years ago

private/main.m  93)         svmopts  = getSvmArgs(model,0);
Christoph Budziszewski first plot button. not work...

Christoph Budziszewski authored 15 years ago

private/main.m  94)         decode = xsvm_subject_loop(header,data,svmopts);
Christoph Budziszewski all enabled features workin...

Christoph Budziszewski authored 15 years ago

private/main.m  95)         decode.header = header;
Christoph Budziszewski more x-svm classification

Christoph Budziszewski authored 15 years ago

private/main.m  96)         assignin('base','decode',decode);
Christoph Budziszewski snapshot, classification

Christoph Budziszewski authored 15 years ago

private/main.m  97)     case 'SOM'
Christoph Budziszewski enabled svm classification....

Christoph Budziszewski authored 15 years ago

private/main.m  98)         disp('not implemented')
Christoph Budziszewski snapshot, classification

Christoph Budziszewski authored 15 years ago

private/main.m  99) 
private/main.m 100)     case 'X-SOM'
Christoph Budziszewski enabled svm classification....

Christoph Budziszewski authored 15 years ago

private/main.m 101)         disp('not implemented')
Christoph Budziszewski snapshot, classification

Christoph Budziszewski authored 15 years ago

private/main.m 102)         
Christoph Budziszewski zwischenspeicherung

Christoph Budziszewski authored 15 years ago

private/main.m 103) end
private/main.m 104) 
Christoph Budziszewski schwimmen.

Christoph Budziszewski authored 15 years ago

private/main.m 105) % disp('warings restored');
private/main.m 106) % warning('on',warn);
Christoph Budziszewski possibly working version, c...

Christoph Budziszewski authored 15 years ago

main.m         107) end
Christoph Budziszewski heavy CrossVal Toolbox deve...

Christoph Budziszewski authored 15 years ago

main.m         108) 
Christoph Budziszewski task-models implementet.

Christoph Budziszewski authored 15 years ago

private/main.m 109) function decode_plot(model,type)
Christoph Budziszewski all enabled features workin...

Christoph Budziszewski authored 15 years ago

private/main.m 110) decode = evalin('base','decode');
private/main.m 111) preprocessed = evalin('base','preprocessedData');
private/main.m 112) plotDecodePerformance(type,decode,preprocessed.subjectdata);
private/main.m 113)        
Christoph Budziszewski first plot button. not work...

Christoph Budziszewski authored 15 years ago

private/main.m 114) end
private/main.m 115) 
Christoph Budziszewski heavy CrossVal Toolbox deve...

Christoph Budziszewski authored 15 years ago

main.m         116) 
main.m         117)