Hi,
I would like to iterate over a list of feature selection methods in order to evaluate them. The following approach seems to work.
train = some training set
% list of feature selection functions
featsels = {featself([], nmc([]), 0, 10), featselb([] ,nmc([]), 0, 10)};
% iterate over feature selection methods
for i = 1:2
W = featsels{i}(train);
...
end
Is this a correct method? It seems as if it does not do 10 fold CV. Also an error occurs when I use:
[W R] = featsels{i}(train);
??? Error using ==> mapping.subsref
Too many output arguments.
Error in ==> featselection at 103
[W R] = featsels{i}(train);
Could anyone help me out here? Thanks in advance!
Bastiaan
