Using Label Encoder to encode target labels Machine Learning
>> YOUR LINK HERE: ___ http://youtube.com/watch?v=UtgrhBr3kTw
In this tutorial, we'll go over label encoding using scikit-learn's LabelEncoder class. • I've witnessed many people use label encoding on the input categorical features X, which is completely incorrect. LabelEncoder is solely intended for target labels in a classification task. • In this video, I go over the reasoning behind why LabelEncoder should only be used for the target labels, with a coded example. • I've uploaded all the relevant code and datasets used here (and all other tutorials for that matter) on my github page which is accessible here: • Link: • https://github.com/rachittoshniwal/ma... • If you like my content, please do not forget to upvote this video and subscribe to my channel. • If you have any qualms regarding any of the content here, please feel free to comment below and I'll be happy to assist you in whatever capacity possible. • Thank you!
#############################
