Machine Learning Tutorial Python : Dummy Variables & One Hot Encoding

Published: 10 June 2021
on channel: Behind Datascience
366
16

Machine learning models work very well for dataset having only numbers. But how do we handle text information in dataset? Simple approach is to use interger or label encoding but when categorical variables are nominal, using simple label encoding can be problematic. One hot encoding is the technique that can help in this situation. In this tutorial, we will use pandas get_dummies method to create dummy variables that allows us to perform one hot encoding on given dataset. Alternatively we can use sklearn.preprocessing OneHotEncoder as well to create dummy variables.

#MachineLearning #PythonMachineLearning #MachineLearningTutorial #Python #PythonTutorial #PythonTraining #MachineLearningCource #OneHotEncoding


On this page of the site you can watch the video online Machine Learning Tutorial Python : Dummy Variables & One Hot Encoding with a duration of hours minute second in good quality, which was uploaded by the user Behind Datascience 10 June 2021, share the link with friends and acquaintances, this video has already been watched 366 times on youtube and it was liked by 16 viewers. Enjoy your viewing!