Lesson 7 Feature Engineering
Lesson 7 Feature Engineering
Duration: 4 hrs
Outline:
1. Introduction
2. Feature engineering
3. Features in visual pattern recognition
4. Shape-based feature descriptors
Feature engineering
Duration: 4 hrs
Outline:
1. Introduction
2. Feature engineering
3. Features in visual pattern recognition
4. Shape-based feature descriptors
Introduction to feature & feature engineering
Feature:
an individual measurable property or characteristic of a data
example
Curse of dimensionality:
Dimensionality reduction
Feature selection
Feature extraction
Feature extraction vs. feature selection
Feature selection:
Feature extraction:
Duration: 4 hrs
Outline:
1. Introduction
2. Feature engineering
3. Features in visual pattern recognition
4. Shape-based feature descriptors
Feature engineering
One-hot encoding
Binning
Normalization
Standardization
?
Binning (bucketing)
Transform a numerical feature into categorical feature
Formula:
Standardization or normalization?
Try two if have time
Rule of thumbs:
Dealing with missing features
…etc…
Feature engineering
Duration: 4 hrs
Outline:
1. Introduction
2. Feature engineering
3. Features in visual pattern recognition
4. Shape-based feature descriptors
Image feature extraction
Purpose:
Requirements:
Features should extract the most suitable characteristics from
the input image
An example of feature extraction
.
Visual features
Color-based features
Visual features
Shape-based features
Visual features
Texture-based features
Which feature is the best?
Challenging
Deep learning
Innovative
Feature engineering
Duration: 4 hrs
Outline:
1. Introduction
2. Feature engineering
3. Features in visual pattern recognition
4. Shape-based feature descriptors
Shape-based feature descriptor
Shape: important
20
40 70
_
x.s(x, y) _
y.s(x, y)
x x y
,y x y
s(x, y) s(x, y)
x y x y
Hu moments feature (cont)
Id image S1 S2 S3 S4 S5 S6 S7
6
HOG
https://www.youtube.com/watch?v=XmO0CSsKg88&t=41s