Skip to Content
Hands-On Automated Machine Learning
book

Hands-On Automated Machine Learning

by Sibanjan Das, Umit Mert Cakmak
April 2018
Beginner to intermediate content levelBeginner to intermediate
282 pages
6h 52m
English
Packt Publishing
Content preview from Hands-On Automated Machine Learning

Recursive feature elimination

Recursive feature elimination is based on the idea of recursively constructing a model by removing the features, building the model with the remaining features, and computing the model's accuracy. This process is repeated until all features in the dataset are exhausted. It is a greedy optimization method to find the best performing subset of features and then rank them according to when they were eliminated.

In the following example code, the HR attrition dataset is used to illustrate the use of recursive feature elimination (RFE). The stability of the RFE method is heavily dependent on the type of algorithm used. For our demonstration, we have used the LogisticRegression method:

#Recursive Feature Elimination ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Automated Machine Learning

Automated Machine Learning

Adnan Masood
R: Unleash Machine Learning Techniques

R: Unleash Machine Learning Techniques

Raghav Bali, Dipanjan Sarkar, Brett Lantz, Cory Lesmeister

Publisher Resources

ISBN: 9781788629898Supplemental Content