fscmrmr output only zero scores, is it possible?
조회 수: 4 (최근 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개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Matrices and Arrays에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!