pymrmr | Python3 binding to mRMR Feature Selection algorithm | Genomics library
kandi X-RAY | pymrmr Summary
kandi X-RAY | pymrmr Summary
Python3 binding to mRMR Feature Selection algorithm (currently not maintained)
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of pymrmr
pymrmr Key Features
pymrmr Examples and Code Snippets
Community Discussions
Trending Discussions on pymrmr
QUESTION
I am using a feature selection algorithm called mRMRe in R , but I need to call it from Python. I have successfully installed the package and being able to call it from Python. I need to access some functions within the R mRMRe package like mRMR.data to convert the dataframe into a format as needed by the algo.
...ANSWER
Answered 2018-Apr-12 at 17:10You're only importing the base module, and need to import it entirely. You'd think Python would do that automatically, apparently it doesn't. See this SO answer.
QUESTION
I found two ways to implement MRMR for feature selection in python. The source of the paper that contains the method is:
https://www.dropbox.com/s/tr7wjpc2ik5xpxs/doc.pdf?dl=0
This is my code for the dataset.
...ANSWER
Answered 2018-Mar-20 at 15:44You'll probably need to contact either the authors of the original paper and/or the owner of the Github repo for a final answer, but most likely the differences here come from the fact that you are comparing 3 different algorithms (despite the name).
Minimum redundancy Maximum relevance algorithms are actually a family of feature selection algorithms whose common objective is to select features that are mutually far away from each other while still having "high" correlation to the classification variable.
You can measure that objective using Mutual Information measures, but the specific method to follow(i.e. what to do with the scores computed? In what order? What other post-processing methods will be used? ...) is going to be different from one author to another - even in the paper they are actually giving you two different implementations, MIQ
and MID
.
So my suggestion would be to just choose the implementation you are more comfortable with (or even better, the one that produces better results in your pipeline after conducting a proper validation), and just report which specific source did you choose and why.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install pymrmr
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