How to use ReliefF algorithm for a dataset?
5 ビュー (過去 30 日間)
古いコメントを表示
I want to use ReliefF feature selection algorithm for a dataset(colon), I found this code for ReliefF function from github website (I attached two file ReliefF_Zeal and test_ReliefF) and also Matlab Help is similar to this code
function [Rank, Score] = ReliefF_Zeal(X, y, K)
[Rank, Score] = relieff(X, y, K);
end
but I don't know how to load my data (train and test) in this function, my goal was selecting 30 best features from the data,I'll be very gratefull to have your opinions. Thanks
1 件のコメント
Demet Yesilbas
2020 年 6 月 19 日
Hi,
I am also interested about Relief-F for a project and as I understood x is your input data, y is the target, k is a number can be 10(as I understood it depends on your data). But X must have as many rows as there are elements in Y.
回答 (1 件)
Jingwei Too
2020 年 7 月 23 日
you may have a look on this toolbox https://www.mathworks.com/matlabcentral/fileexchange/71611-simple-filter-feature-selection-algorithms?s_tid=prof_contriblnk
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Data Distribution Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!