Explained clearly and covered all key concepts also the example data is easy to grasp for a beginner. Other videos using complicated data making an easy topic hard to understand
@techdose4u3 жыл бұрын
👍🏼
@programmer66492 жыл бұрын
Your explanation is amazing sir, but sad part is I learnt one encoding without even knowing why we perform this technique, but after I watched your video I got full clarity about it i.e when we have to use this technique and what's the purpose of this technique
@dexter-26335 жыл бұрын
How to do one hot encoding when we have 2 column which are categorical variables?
@techdose4u5 жыл бұрын
Good question. If you have 2 columns say Game and Tshirt-size and let us say you have 4 unique games and 3 unique tshirt sizes, then what you will do is, when you do one-hot-encoding of GAME then it will be converted into 4 columns and when you do one hot encoding of Tshirt-size and you will get 3 columns. Now, we will combine these one-hot-encoded features to form a single dataframe using hstack (horizontal stacking). In this way, you can convert you given dataframe with categorical features to one-hot encoded features. I have written the entire CODE on your request and have uploaded it in DESCRIPTION section above. So, please check it out. I hope you are getting it :)
@harshpreetsingh54743 жыл бұрын
🔥
@देशहित-ब8य5 жыл бұрын
Please discuss coding part also .
@techdose4u5 жыл бұрын
Code is easily available on google. You need to use: to_categorical function. Code samples are available thats why i did not explain.