← Open Source
Yimeng-Zhang

feature-engineering-and-feature-selection

A Guide for Feature Engineering and Feature Selection, with implementations and examples in Python.

TutorialsML/AI fundamentalsJupyter Notebook
Open on GitHub
Momentum
+0stars in 24 hours0.0%
1.66k
Stars
424
Forks
+0
This week
1
Contributors
Created 2018-12-02 · Updated 2026-10-08 · #9742 today
Top developers
Yimeng-Zhang

Yimeng-Zhang/feature-engineering-and-feature-selection is ranked 9,742 with 1,663 stars.

Same-category comparison

Yimeng-Zhang/feature-engineering-and-feature-selection is ranked 9,742 among these 8 peers; google/aiyprojects-raspbian is ranked 9,743.

Same-category comparison
NameRankMetrics
neural-maze/ava-whatsapp-agent-course9,699
Language:
Python
Stars:
1,681
Forks:
418
Description:
Meet Ava, the WhatsApp Agent.
NVIDIA/trt-samples-for-hackathon-cn9,722
Language:
Python
Stars:
1,673
Forks:
350
Description:
Simple samples for TensorRT programming.
iamtodor/data-science-interview-questions-and-answers9,724
Stars:
1,673
Forks:
361
Description:
Data science interview questions with answers. Not ideally (yet).
unclestrong/DeepLearning_LHY21_Notes9,731
Language:
HTML
Stars:
1,671
Forks:
411
google/aiyprojects-raspbian9,743
Language:
Python
Stars:
1,663
Forks:
705
Description:
API libraries, samples, and system images for AIY Projects (Voice Kit and Vision Kit).
jadianes/spark-py-notebooks9,752
Language:
Jupyter Notebook
Stars:
1,659
Forks:
903
Description:
Apache Spark & Python (pySpark) tutorials for Big Data Analysis and Machine Learning as IPython / Jupyter notebooks.
patrickloeber/MLfromscratch9,758
Language:
Python
Stars:
1,657
Forks:
574
Description:
Machine Learning algorithm implementations from scratch.
tczhangzhi/pytorch-distributed9,760
Language:
Python
Stars:
1,656
Forks:
292
Description:
A quickstart and benchmark for pytorch distributed training.
Key parameters and specifications
Key parameters and specifications
ParameterValue
LanguageJupyter Notebook
CategoryTutorials
SubcategoryML/AI fundamentals
KeywordsData processing
Stars1,663
Forks424
Contributors1
Created date2018-12-02
Updated date2026-10-08
Stars in 1 day0
Stars in 7 days0
Rank9,742
Previous rank9,781
Rank change39
7-day stars rank12,398
Previous 7-day stars rank12,442
7-day stars rank change44
Total stars rank7,425
Previous total stars rank7,420
Total stars rank change-5
README summary

Feature Engineering & Feature Selection A comprehensive guide [[pdf]]( [[markdown]]( for **Feature Engineering** and **Feature Selection**, with implementations and examples in Python. Motivation Feature Engineering & Selection is the most essential part of building a useable machine learning project, even though hundreds of cutting-edge machine learning algorithms coming in these days like deep learning and transfer learning. Indeed, like what Prof Domingos, the author of 'The Master Algorithm' says: “At the end of the day, some machine learning projects succeed and

some fail. Easily the most important factor is the features used. Pedro Domingos Data and feature has the most impact on a ML project and sets the limit of how well we can do, while models and algorithms are just approaching that limit. However, few materials could be found that systematically introduce the art of feature engineering, and even fewer could explain the rationale behind. This repo is my personal notes from learning ML and serves as a reference for

Feature Engineering & Selection. Download Download the PDF here: Same, but in markdown: PDF has a much readable format, while Markdown has auto-generated anchor link to navigate from outer source. GitHub sucks at displaying markdown with complex grammar, so I would suggest read the PDF or download the repo and read markdown with Typora. What You'll Learn Not only a collection of hands-on functions, but also explanation on **Why**, **How** and **When** to adopt **Which** techniques of feature engineering

in data mining. the nature and risk of data problem we often encounter explanation of the various feature engineering & selection techniques rationale to use it pros & cons of each method code & example Getting Started This repo is mainly used as a reference for anyone who are doing feature engineering, and most of the modules are implemented through scikit-learn or its communities. To run the demos or use the customized function, please download the ZIP file from the repo or

just copy-paste any part of the code you find helpful. They should all be very easy to understand. 0 Table of Contents and Code Examples Below is a list of methods currently implemented in the repo. 5 Hybrid Method Key Links and Resources Udemy's Feature Engineering online course Udemy's Feature Selection online course JMLR Special Issue on Variable and Feature Selection Data Analysis Using Regression and Multilevel/Hierarchical Models, Chapter 25: Missing data Data mining and the impact of

missing data PyOD: A Python Toolkit for Scalable Outlier Detection Weight of Evidence (WoE) Introductory Overview About Feature Scaling and Normalization Feature Generation with RF, GBDT and Xgboost A review of feature selection methods with applications

Frequently asked questions

How many stars and forks are recorded?

Yimeng-Zhang/feature-engineering-and-feature-selection has 1,663 stars and 424 forks.

What is the repository rank?

Yimeng-Zhang/feature-engineering-and-feature-selection is ranked 9,742.

What language and category are recorded?

Yimeng-Zhang/feature-engineering-and-feature-selection has 1,663 stars, uses Jupyter Notebook and belongs to Tutorials.

Which repository is closest in rank?

Yimeng-Zhang/feature-engineering-and-feature-selection is compared with google/aiyprojects-raspbian, ranked 9,743 with 1,663 stars.

README

Feature Engineering & Feature Selection

A comprehensive guide [pdf] [markdown] for Feature Engineering and Feature Selection, with implementations and examples in Python.

Motivation

Feature Engineering & Selection is the most essential part of building a useable machine learning project, even though hundreds of cutting-edge machine learning algorithms coming in these days like deep learning and transfer learning. Indeed, like what Prof Domingos, the author of  'The Master Algorithm' says:

“At the end of the day, some machine learning projects succeed and some fail. What makes the difference? Easily the most important factor is the features used.”

— Prof. Pedro Domingos

Data and feature has the most impact on a ML project and sets the limit of how well we can do, while models and algorithms are just approaching that limit. However, few materials could be found that systematically introduce the art of feature engineering, and even fewer could explain the rationale behind. This repo is my personal notes from learning ML and serves as a reference for Feature Engineering & Selection.

Download

Download the PDF here:

Same, but in markdown:

PDF has a much readable format, while Markdown has auto-generated anchor link to navigate from outer source. GitHub sucks at displaying markdown with complex grammar, so I would suggest read the PDF or download the repo and read markdown with Typora.

What You'll Learn

Not only a collection of hands-on functions, but also explanation on Why, How and When to adopt Which techniques of feature engineering in data mining.

  • the nature and risk of data problem we often encounter
  • explanation of the various feature engineering & selection techniques
  • rationale to use it
  • pros & cons of each method
  • code & example

Getting Started

This repo is mainly used as a reference for anyone who are doing feature engineering, and most of the modules are implemented through scikit-learn or its communities.

To run the demos or use the customized function, please download the ZIP file from the repo or just copy-paste any part of the code you find helpful. They should all be very easy to understand.

Required Dependencies:

  • Python 3.5, 3.6 or 3.7
  • numpy>=1.15
  • pandas>=0.23
  • scipy>=1.1.0
  • scikit_learn>=0.20.1
  • seaborn>=0.9.0

Table of Contents and Code Examples

Below is a list of methods currently implemented in the repo.

1. Data Exploration

2. Feature Cleaning

3. Feature Engineering

4. Feature Selection

Key Links and Resources

  • Udemy's Feature Engineering online course

https://www.udemy.com/feature-engineering-for-machine-learning/

  • Udemy's Feature Selection online course

https://www.udemy.com/feature-selection-for-machine-learning

  • JMLR Special Issue on Variable and Feature Selection

http://jmlr.org/papers/special/feature03.html

  • Data Analysis Using Regression and Multilevel/Hierarchical Models, Chapter 25: Missing data

http://www.stat.columbia.edu/~gelman/arm/missing.pdf

  • Data mining and the impact of missing data

http://core.ecu.edu/omgt/krosj/IMDSDataMining2003.pdf

  • PyOD: A Python Toolkit for Scalable Outlier Detection

https://github.com/yzhao062/pyod

  • Weight of Evidence (WoE) Introductory Overview

http://documentation.statsoft.com/StatisticaHelp.aspx?path=WeightofEvidence/WeightofEvidenceWoEIntroductoryOverview

  • About Feature Scaling and Normalization

http://sebastianraschka.com/Articles/2014_about_feature_scaling.html

  • Feature Generation with RF, GBDT and Xgboost

https://blog.csdn.net/anshuai_aw1/article/details/82983997

  • A review of feature selection methods with applications

https://ieeexplore.ieee.org/iel7/7153596/7160221/07160458.pdf

Nearby in the ranking
Similar items