fscmrmr output only zero scores, is it possible?
5 次查看(过去 30 天)
显示 更早的评论
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 个评论
John D'Errico
2023-9-12
编辑:John D'Errico
2023-9-12
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.
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!