Encode categorical features using OneHotEncoder or OrdinalEncoder

Published: 29 October 2020
on channel: Data School
35,292
592

Two common ways to encode categorical features:
OneHotEncoder for unordered (nominal) data
OrdinalEncoder for ordered (ordinal) data

P.S. LabelEncoder is for labels, not features!

👉 New tips every TUESDAY and THURSDAY! 👈

🎥 Watch all tips:    • scikit-learn tips  
🗒️ Code for all tips: https://github.com/justmarkham/scikit...
💌 Get tips via email: https://scikit-learn.tips


=== WANT TO GET BETTER AT MACHINE LEARNING? ===

1) WATCH my video series:    • Machine learning in Python with sciki...  

2) ENROLL in my courses: https://www.dataschool.io/ml-courses/

3) LET'S CONNECT!
Newsletter: https://www.dataschool.io/subscribe/
Twitter:   / justmarkham  
Facebook:   / datascienceschool  
LinkedIn:   / justmarkham  


On this page of the site you can watch the video online Encode categorical features using OneHotEncoder or OrdinalEncoder with a duration of hours minute second in good quality, which was uploaded by the user Data School 29 October 2020, share the link with friends and acquaintances, this video has already been watched 35,292 times on youtube and it was liked by 592 viewers. Enjoy your viewing!