Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
One Hot Encoding and Dummy Encoding    Machine Learning   Python Pandas SkLearn by Dr. Mahesh Huddar
Play lesson

Machine Learning - One Hot Encoding and Dummy Encoding Machine Learning Python Pandas SkLearn by Dr. Mahesh Huddar

4.0 (1)
15 learners

What you'll learn

This course includes

  • 47.5 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

One Hot Encoding and Dummy Encoding Machine Learning Python Pandas SkLearn by Dr. Mahesh Huddar One Hot Encoding: In one-hot encoding, we create a new set of dummy (binary) variables that is equal to the number of categories (k) in the variable. For example, let’s say we have a categorical variable Color with three categories called “Red”, “Green” and “Blue”, we need to use three dummy variables to encode this variable using one-hot encoding. A dummy (binary) variable just takes the value 0 or 1 to indicate the exclusion or inclusion of a category. Dummy encoding Dummy encoding also uses dummy (binary) variables. Instead of creating a number of dummy variables that is equal to the number of categories (k) in the variable, dummy encoding uses k-1 dummy variables. To encode the same Color variable with three categories using the dummy encoding, we need to use only two dummy variables. ******************************** 1. Blog / Website: https://www.vtupulse.com/ 2. Like Facebook Page: https://www.facebook.com/VTUPulse 3. Follow us on Instagram: https://www.instagram.com/vtupulse/ 4. Like, Share, Subscribe, and Don't forget to press the bell ICON for regular updates

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere