Lesson 4: Embedding features

Hi

I’m not clear on what exactly happens to the dataframe when you embed the feature using a matrix?

For e.g. in Onehot encoding it would just add columns for is_sat, is_sun, is_mon and so on, but what happens when you add instead a matrix 8x4?

Could someone please explain on the sample data row how this will be applied and calculated later on?

Many thanks
Jed