Excellent work! I have been working on it for two days, but I did not grasp the main concept. However, after watching the video, I now understand the whole concept. Is my use of 'dose' correct? Also, please check the entire sentence
Hey! Great video as always. I have a question for you. In the end you're doing fit_transform with for loop. How can I do it with map, list ? When I do list(map(le.fit_transform(df_cat),df_cat)) it gives this error : y should be a 1d array, got an array of shape (513, 2) instead. How would you do map,list as an alternative to for loop ?
Great explanation! I have a question though, When we apply label encoder and the categorical column has more than 3 unique values it assigns the value as 1,2,3,4 etc. Are there any chances that our model prioritizes the category which has a higher number compared to others?