~registry/ssacontrolled/saxescriptsaes

« back to all changes in this revision

Viewing changes to mvpaptb/mvpaptb_classify_SL.m

  • Committer: Amy Skerry
  • Date: 2013-06-18 15:02:23 UTC
  • Revision ID: amy.skerry@gmail.com-20130618150223-0q010udy3ka9u3lq
adding additional feature selection options to main classification stream

Show diffs side-by-side

added added

removed removed

Lines of Context:
245
245
%now lets make a brain image!
246
246
patheader=subj.patterns{1}.header; % go back to that first input pattern (assumes the first pat is your raw bold imgs) and grab the header. to do: would be prettier to actually grab based on epi name...
247
247
patheader.vol=patheader.vol(1); %that was a 4d pattern but we only need the .vol struct for the first volum
 
248
patheader.vol=rmfield(patheader.vol{1}, 'pinfo')
 
249
patheader.vol={patheader.vol}; %oh matlab
248
250
%label the imgs by the training/testing data
249
251
for fold=1:length(searchlightmaps)
250
252
   if ~strcmp(xvalselector, 'runs')