Question: Feature transformation. So far, we have been talking about using the raw features / predictors / input variables X 1 , X 2 , ,
Feature transformation. So far, we have been talking about using the raw featurespredictorsinput variables X X Xp from the data to make prediction about a target variable Y In most cases, however, it is not the best idea to use the original inputs: a process called feature transformation T is usually performed on the raw data such that we learn a model between T X and Y instead. For the following dataset, lets try different feature transformation techniques.
Normalization: transform both and so that they are zero mean and unit variance.
Quantization: transform both and so that they contain only zero and ones. You can choose any threshold. There are more than one solution here.
Log transformation: transform both and with log function.
Polynomial expansion: transform and together into one polynomial
feature array such that
times
You dont need to compute all the data points, you can choose any row from the dataset above.
Trigonometric functions: transform and together into one feature array with sine and cosine such that
sin sin cos cos sin sin sin sin
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
