fscmrmr output only zero scores, is it possible?
5 views (last 30 days)
Show older comments
fscmrmr function outputs only zero score for all features. I don't know if this is the expected behaviour.
[idx, scores] = fscmrmr(features,Y);
results = [idx;scores];
disp(results)
%features is a matrix. In each row there is one observation. In each column there is one feature.
% Y is a logical vector (labels 1 and 0). It shows the same behaviour even if i use tables.
4 Comments
John D'Errico
on 12 Sep 2023
Edited: John D'Errico
on 12 Sep 2023
Without seeing the specific data posed, it is impossible to know. Can it return zero scores, yes, I would bet that is the case. In fact, I am even positive that is the case, since in a random test case I just tried, that was true. But that just means you are probably misunderstanding how the code should be used.
help fscmrmr
A quick run of the sample test problem they supply in the help shows this:
load ionosphere
[idx,scores] = fscmrmr(X,Y)
Anyway, in order to understand what you did wrong to get the results you got, you need to show the data you tried to pass into that code.
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!