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

CatBoost Part 2: Building and Using Trees

15.6K views
•
March 5, 2023
by
StatQuest with Josh Starmer
YouTube video player
CatBoost Part 2: Building and Using Trees

TL;DR

In this StatQuest video, Josh Starmer explains how CatBoost creates trees and combines them to make predictions using techniques like Ordered Target Encoding and symmetric decision trees.

Transcript

Going to build a tree, one row at a time! StatQuest! Hello, I'm Josh Starmer and welcome to StatQuest. Today we're going to talk about CatBoost Part 2, Building and Using Trees. If you want to do it in the cloud, then do it with Lightning. It'll be easier and you'll thank me later. Bam! This StatQuest is also brought to you by the letters 'A', 'B',... Read More

Key Insights

  • 🪈 CatBoost applies Ordered Target Encoding to prevent Leakage and ensure accurate predictions.
  • 🤨 Randomizing rows and applying Ordered Target Encoding are crucial steps in CatBoost's tree-building process.
  • 🦮 The cosine similarity is used to evaluate the performance of thresholds and guide the tree-building process.
  • 🐎 Symmetric decision trees, although less accurate, offer speed advantages in making predictions.
  • ❓ CatBoost is a powerful gradient boosting method that incorporates these unique techniques for improved performance.
  • 😒 The use of learning rate and multiple trees helps CatBoost make predictions iteratively.
  • 🍵 CatBoost's process can be scaled to handle larger datasets and more complex features.

Install to Summarize YouTube Videos and Get Transcripts

Explore YouTube Video Summarizer or Get YouTube Transcript Extractor

Questions & Answers

Q: How does CatBoost avoid Leakage when using Ordered Target Encoding?

CatBoost treats the data as if it arrives sequentially, avoiding any effect of a row's target value on its own encoding.

Q: How does CatBoost determine the best threshold for each feature when building trees?

CatBoost compares the cosine similarity of different thresholds to decide which threshold to use for each split in the tree.

Q: Why does CatBoost use symmetric decision trees?

Symmetric decision trees, although weaker for predictions, offer faster computation as they can ask all questions in a single vector operation.

Summary & Key Takeaways

  • CatBoost randomizes the rows of the training dataset and applies Ordered Target Encoding to the discrete columns with more than two options.

  • The encoding replaces continuous values for the target variable into discrete bins, enabling the use of Ordered Target Encoding.

  • CatBoost builds trees by finding the best thresholds for each feature and calculates the cosine similarity to evaluate the predictions.


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 📚

How Does Gradient Boosting Work for Regression? thumbnail
How Does Gradient Boosting Work for Regression?
StatQuest with Josh Starmer
Regularization Part 3: Elastic Net Regression thumbnail
Regularization Part 3: Elastic Net Regression
StatQuest with Josh Starmer
Sample Size and Effective Sample Size, Clearly Explained!!! thumbnail
Sample Size and Effective Sample Size, Clearly Explained!!!
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 to Calculate Maximum Likelihood for Binomial Distribution thumbnail
How to Calculate Maximum Likelihood for Binomial Distribution
StatQuest with Josh Starmer
Hypothesis Testing and The Null Hypothesis, Clearly Explained!!! thumbnail
Hypothesis Testing and The Null Hypothesis, Clearly Explained!!!
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
  • Open Graph Checker

Company

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

•

Privacy

•

Guidelines

© 2026 Glasp Inc. All rights reserved.