ReliefF | Relief family of feature selection algorithms
kandi X-RAY | ReliefF Summary
kandi X-RAY | ReliefF Summary
Please check the existing open and closed issues to see if your issue has already been attended to. If it hasn't, file a new issue on this repository so we can review your issue.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Fits the KDTree .
- Initialize feature scores .
- Transform X into n features .
ReliefF Key Features
ReliefF Examples and Code Snippets
Community Discussions
Trending Discussions on ReliefF
QUESTION
I am implementing a version of the Very Large Scale Relieff algorithm detailed here.
Simply put, Very Large Scale Relieff split the set of features N
into several random subsets Ns
where Ns << N
. Then it calculates the Relieff weights for the features in the subset Ns
. For each feature, the final weight will be the highest weight assigned among the different subsets were that particular feature appear.
I have ~80000 features for ~100 subjects. I can calculate 10000 subsets of 8000 features each in a reasonable amount of time (~5 minutes running on 25 cores) with the following code (that is scaled down to 100 features in order to be easier to profile):
...ANSWER
Answered 2021-May-20 at 13:38If I understood what you are trying to do correctly, then the answer is simpler than you think.
Correct me if I'm wrong, but you are trying to get the max value obtained from attrEval per feature? if so, then why not just bind all results in one dataframe (or data.table), and then get the max per column like so:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ReliefF
You can use ReliefF like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page