Commit 36b1bf9d authored by Vaanathi Sundaresan's avatar Vaanathi Sundaresan
Browse files

Update LOCATE_testing_highdim.m

parent 6dfa7c64
function LOCATE_testing_highdim(varargin) function LOCATE_testing_highdim(test_image_directory_name, varargin)
% Function for extracting features from the images in a directory % Function for extracting features from the images in a directory
% and performing Leave-one-subject-out testing for LOCATE % and performing Leave-one-subject-out testing for LOCATE
% Copyright - FMRIB, WIN, University of Oxford % Copyright - FMRIB, WIN, University of Oxford
...@@ -24,8 +24,6 @@ if nargin > 0 ...@@ -24,8 +24,6 @@ if nargin > 0
training_image_directory_name = varargin{1}; training_image_directory_name = varargin{1};
end end
test_image_directory_name = varargin{2};
% Assigning the Root directories % Assigning the Root directories
root_data_directory = test_image_directory_name; root_data_directory = test_image_directory_name;
results_directory = sprintf('%s/LOCATE_results_directory',test_image_directory_name); results_directory = sprintf('%s/LOCATE_results_directory',test_image_directory_name);
...@@ -56,7 +54,7 @@ if nargin > 2 ...@@ -56,7 +54,7 @@ if nargin > 2
elseif numel(varargin{2}) < numfeats + 2 elseif numel(varargin{2}) < numfeats + 2
error('Number of columns in feature_select does not match the number of features specified.'); error('Number of columns in feature_select does not match the number of features specified.');
else else
feature_selection_cols = varargin{3}; feature_selection_cols = varargin{2};
end end
end end
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment