Uploaded October 2022 | Updated September 2026, 1 week ago
A lot of machine learning algorithms can not deal with categorical data (like "favorite color" or "country code") directly. As a result, we have translate them into some sort of numerical value. The most common practice is to use something called One-Hot-Encoding, which is fine if you don't have many options for each category. However, if you have a lot of options, things get out of hand quickly. This is where methods like Target Encoding really start to shine, so that's what we'll talk about today. We'll also have time for any question you might have for me and maybe even a few silly songs! TRIPLE BAM!!!
For a complete index of all the StatQuest videos, check out...
app.learney.me/maps/StatQuest
...or...
statquest.org/video-index
If you'd like to support StatQuest, please consider...
Patreon: patreon.com/statquest
...or...
YouTube Membership: youtube.com/channel/UCtYLUTtgS3k1Fg4y5tAhLbw/join
...a cool StatQuest t-shirt or sweatshirt:
shop.spreadshirt.com/statquest-with-josh-starmer
...buying one or two of my songs (or go large and get a whole album!)
joshuastarmer.bandcamp.com
...or just donating to StatQuest!
paypal.me/statquest
Lastly, if you want to keep up with me as I research and create new StatQuests, follow me on twitter:
twitter.com/joshuastarmer
A lot of machine learning algorithms can not deal with categorical data (like "favorite color" or "country code") directly. As a result, we have translate them into some sort of numerical value. The most common practice is to use something called One-Hot-Encoding, which is fine if you don't have many options for each category. However, if you have a lot of options, things get out of hand quickly. This is where methods like Target Encoding really start to shine, so that's what we'll talk about today. We'll also have time for any question you might have for me and maybe even a few silly songs! TRIPLE BAM!!!
For a complete index of all the StatQuest videos, check out...
app.learney.me/maps/StatQuest
...or...
statquest.org/video-index
If you'd like to support StatQuest, please consider...
Patreon: patreon.com/statquest
...or...
YouTube Membership: youtube.com/channel/UCtYLUTtgS3k1Fg4y5tAhLbw/join
...a cool StatQuest t-shirt or sweatshirt:
shop.spreadshirt.com/statquest-with-josh-starmer
...buying one or two of my songs (or go large and get a whole album!)
joshuastarmer.bandcamp.com
...or just donating to StatQuest!
paypal.me/statquest
Lastly, if you want to keep up with me as I research and create new StatQuests, follow me on twitter:
twitter.com/joshuastarmer










