git.schokokeks.org
Repositories
Help
Report an Issue
SVMCrossVal.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
0e963b3
Branches
Tags
master
SVMCrossVal.git
private
main.m
snapshot, classification
Christoph Budziszewski
commited
0e963b3
at 2009-03-02 18:28:41
main.m
Blame
History
Raw
function main(model,task) % parse the GUI and pass parameters as structure disp('RUN'); % disp('all warnings OFF') % warn = warning('off','all'); timeLine = getTimeLineParams(model); subjects = getSubjectCellList(model); classDef = parseClassDef(model); mask = ['^' cell2mat(getImageFileMask(model)) '.*\.img$']; % images % normalization switch task case 'COORD' disp('COORD'); coordargs = struct; coordargs.subjects = subjects; coordargs.timeline = timeLine; coordargs.basedir = model.baseDir; coordargs.sessionList = 1:3; coordargs.eventList = classDef.eventMatrix; coordargs.coords = parseCoordinateTextField(model); coordargs.mask = mask; runCoordTable(coordargs) case 'ROI' disp('ROI'); roiargs = struct; roiargs.subjects = subjects; roiargs.timeline = timeLine; roiargs.classes = classDef; roiargs.mask = mask; roiargs.basedir = model.baseDir; roiargs.sessionList = 1:3; roiargs.eventList = classDef.eventMatrix; runROIImageMaskMode(roiargs); case 'FBS' disp('FBS') case 'SVM' disp('classify with svm'); case 'X-SVM' case 'SOM' case 'X-SOM' end % disp('warings restored'); % warning('on',warn); end