Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Vaanathi Sundaresan
LOCATE-BIANCA
Commits
36b1bf9d
Commit
36b1bf9d
authored
Oct 03, 2019
by
Vaanathi Sundaresan
Browse files
Update LOCATE_testing_highdim.m
parent
6dfa7c64
Changes
1
Hide whitespace changes
Inline
Side-by-side
LOCATE_testing_highdim.m
View file @
36b1bf9d
function
LOCATE_testing_highdim
(
varargin
)
function
LOCATE_testing_highdim
(
test_image_directory_name
,
varargin
)
% Function for extracting features from the images in a directory
% and performing Leave-one-subject-out testing for LOCATE
% Copyright - FMRIB, WIN, University of Oxford
...
...
@@ -24,8 +24,6 @@ if nargin > 0
training_image_directory_name
=
varargin
{
1
};
end
test_image_directory_name
=
varargin
{
2
};
% Assigning the Root directories
root_data_directory
=
test_image_directory_name
;
results_directory
=
sprintf
(
'%s/LOCATE_results_directory'
,
test_image_directory_name
);
...
...
@@ -56,7 +54,7 @@ if nargin > 2
elseif
numel
(
varargin
{
2
})
<
numfeats
+
2
error
(
'Number of columns in feature_select does not match the number of features specified.'
);
else
feature_selection_cols
=
varargin
{
3
};
feature_selection_cols
=
varargin
{
2
};
end
end
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment