boruta_py | Python implementations of the Boruta all-relevant feature | Machine Learning library
kandi X-RAY | boruta_py Summary
kandi X-RAY | boruta_py Summary
Python implementations of the Boruta R package. This implementation tries to mimic the scikit-learn interface, so use fit, transform or fit_transform, to run the feature selection.
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 boruta_py
boruta_py Key Features
boruta_py Examples and Code Snippets
Community Discussions
Trending Discussions on boruta_py
QUESTION
New to Machine learning so please bear with me, thanks!
I have three questions to ask, so it would helpful if you mention the question number while answering.
so I want to perform feature selection for my training data before i apply the machine learning algorithm. I will use the same data set to run on many different ML algorithms to decide what is best so it will be more efficient if i can just do feature selection once and pass the new data set to the various algorithms.
Note : I am coding in Python3 and I'm going to use BorutaPy for my feature selection. [https://github.com/scikit-learn-contrib/boruta_py]
Question 1)
do i need to know what algorithm i'm using before performing feature selection? or can i just perform my feature selection and then use whatever algorithm ,ie; is feature selection dependent on the type of algorithm used?
Question 2)
can i perform the same feature selection for regression and classification problems?
Question 3)
Instead of everything mentioned above, is it best to use regularization for the regression problems and perform feature selection for the classification problems?
Thank you!
...ANSWER
Answered 2018-Mar-01 at 01:54I will respond to your questions 1 & 2, leaving number 3 for someone else. I will use R to make some examples. I know that you are using python, but the answers to your questions do not depend on the implementation. I hope that you can translate them to python or just look at the math and see what is happening.
Question 1: Feature selection is dependent on the algorithm used.First, some data.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install boruta_py
You can use boruta_py 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