Top ranking features using fscmrmr() have 0 for scores
4 views (last 30 days)
Show older comments
Hi,
I used fscmrmr() on a dataset of 100 observations by 1000 features. The top 100 features have scores 0 where as the remaining features have some scores > 0. Is this normal?
Assuming the idx and scores below were already ranked.
[idx,scores] = fscmrmr(X,Y);
Many thanks
0 Comments
Accepted Answer
Prince Kumar
on 31 Mar 2022
Hi,
load ionosphere
[idx,scores] = fscmrmr(X,Y);
bar(scores(idx))
xlabel('Predictor rank')
ylabel('Predictor importance score')
One important thing to note is that idx and scores are in sorted order.
scores
idx
Hope this helps!
0 Comments
More Answers (0)
See Also
Categories
Find more on Dimensionality Reduction and Feature Extraction in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!