Products
Features
YouTube Video Summarizer
Summarize YouTube videos
Web & PDF Highlighter
Highlight web pages & PDFs
Chat with PDF
Ask any PDF questions with AI
Ask AI Clone
Chat with your highlights & memories
Audio Transcriber
Transcribe audio files to text
Glasp Reader
Read and highlight articles
Kindle Highlight Export
Export your Kindle highlights
Idea Hatch
Hatch ideas from your highlights
Integrations
Obsidian Plugin
Notion Integration
Pocket Integration
Instapaper Integration
Medium Integration
Readwise Integration
Snipd Integration
Hypothesis Integration
Apps & Extensions
Chrome Extension
Safari Extension
Edge Add-ons
Firefox Add-ons
iOS App
Android App
Discover
Discover
Ideas
Discover new ideas and insights
Articles
Curated articles and insights
Books
Book recommendations by great minds
Posts
Essays and notes from readers
Quotes
Inspiring quotes collection
Videos
Curated videos and summaries
Explore Glasp
Glasp Story
How we grew from 0 to 3 million users
Glasp Newsletter
Weekly insights and updates
Glasp Talk
Interview series with great minds
Glasp Blog
Latest news and articles
Glasp Use Cases
Learn how others use Glasp
Build & Support
Glasp API
Access Glasp's API for developers
MCP Connector
Connect Glasp to Claude & ChatGPT
Community
Glasp Reddit Community
Students
Student discount and benefits
FAQs
Frequently Asked Questions
AboutPricing
DashboardLog inSign up

Live Stream - More details about Target Encoding/AMA/Silly Songs

6.3K views
•
October 18, 2022
by
StatQuest with Josh Starmer
YouTube video player
Live Stream - More details about Target Encoding/AMA/Silly Songs

TL;DR

This live stream discusses the concept of target encoding without leakage, a technique used in machine learning algorithms to convert discrete data into numerical values.

Transcript

foreign hello I'm Josh charmer and welcome to the stat Quest live stream uh I'm super excited to be here and I hope you're excited to be here too I'm going to put on my ukulele on the floor so that um I don't drop it while I'm talking um also I want to apologize because I know the last time we did a live stream um I said that I was gonna play the T... Read More

Key Insights

  • 🎯 Target encoding without leakage is an essential technique in machine learning to convert discrete data into numerical values.
  • 🎯 K-fold target encoding and ordered target encoding are effective methods for avoiding leakage and overfitting.
  • 🤨 Catboost is an algorithm that uses a unique approach to target encoding, treating each row of data sequentially.
  • 🎯 Leakage in target encoding can result in models that perform well on training data but not on testing data.

Install to Summarize YouTube Videos and Get Transcripts

Explore YouTube Video Summarizer or Get YouTube Transcript Extractor

Questions & Answers

Q: What is target encoding without leakage?

Target encoding without leakage is a technique used in machine learning algorithms to convert discrete data into numerical values without introducing any relationship between the target variable and the encoded values, thus avoiding overfitting.

Q: How does k-fold target encoding work?

In k-fold target encoding, the data is divided into multiple subsets, and each subset is used to encode the values in the other subsets. This helps in avoiding leakage and ensures that the encoding is based on the data that came before the current row.

Q: What is the difference between k-fold target encoding and leave one out target encoding?

In k-fold target encoding, the data is divided into equal-sized subsets, whereas in leave one out target encoding, only the rows before the current row are used for encoding. K-fold target encoding is more commonly used and provides better results in most cases.

Q: How does catboost perform target encoding?

Catboost treats each row of data as if it were fed into the algorithm sequentially. For each row, it uses the previous rows to calculate the weighted mean of the target variable, without introducing any leakage.

Summary & Key Takeaways

  • The live stream starts with a brief introduction by the host and apologizes for not being able to play a musical instrument as promised in the previous live stream.

  • The host discusses the basics of target encoding and its importance in machine learning algorithms.

  • Different strategies for target encoding, including one-hot encoding and weighted mean encoding, are explained.

  • The concept of leakage in target encoding is introduced, which can result in overfitting models.

  • The host goes on to explain k-fold target encoding and ordered target encoding, highlighting their benefits in avoiding leakage.

  • An introduction to catboost, an algorithm that uses a different approach to target encoding, is provided.

  • The host wraps up the live stream by emphasizing the importance of practicality and flexibility in machine learning.


Read in Other Languages (beta)

English

Share This Summary 📚

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Explore More Summaries from StatQuest with Josh Starmer 📚

The AI Buzz, Episode #3: Constitutional AI, Emergent Abilities and Foundation Models thumbnail
The AI Buzz, Episode #3: Constitutional AI, Emergent Abilities and Foundation Models
The AI Buzz with Luca and Josh
How Does Gradient Boosting Work for Regression? thumbnail
How Does Gradient Boosting Work for Regression?
StatQuest with Josh Starmer
How to Calculate Maximum Likelihood for Binomial Distribution thumbnail
How to Calculate Maximum Likelihood for Binomial Distribution
StatQuest with Josh Starmer
CatBoost Part 2: Building and Using Trees thumbnail
CatBoost Part 2: Building and Using Trees
StatQuest with Josh Starmer
What Are One-Hot, Label, and Target Encoding Techniques? thumbnail
What Are One-Hot, Label, and Target Encoding Techniques?
StatQuest with Josh Starmer
How Does Gradient Boosting Work for Regression? thumbnail
How Does Gradient Boosting Work for Regression?
StatQuest with Josh Starmer

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Apps & Extensions

  • Chrome Extension
  • Safari Extension
  • Edge Add-ons
  • Firefox Add-ons
  • iOS App
  • Android App

Key Features

  • YouTube Video Summarizer
  • Web & PDF Summarizer
  • Web & PDF Highlighter
  • Chat with PDF
  • Ask AI Clone
  • Audio Transcriber
  • Glasp Reader
  • Kindle Highlight Export
  • Idea Hatch

Integrations

  • Obsidian Plugin
  • Notion Integration
  • Pocket Integration
  • Instapaper Integration
  • Medium Integration
  • Readwise Integration
  • Snipd Integration
  • Hypothesis Integration

More Features

  • APIs
  • MCP Connector
  • Blog & Post
  • Embed Links
  • Image Highlight
  • Personality Test
  • Quote Shots

Company

  • About us
  • Our Story
  • Blog
  • Community
  • FAQs
  • Job Board
  • Newsletter
  • Pricing
Terms

•

Privacy

•

Guidelines

© 2026 Glasp Inc. All rights reserved.