Save this video free

UUtah Data Mining | Fall 2026 | L13 : Streaming Freq Apx

UofU Data Science · 1:23:14 · Watch on YouTube

Part of University of Utah CS 5140/6140 Data Mining. See all 21 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

Jeff Phillips develops streaming frequency approximation from the goal of estimating every item's count using small memory, then compares uniform sampling, the deterministic Misra–Gries algorithm, and the randomized Count-Min Sketch. He derives additive error guarantees in terms of stream length, contrasts Count-Min with Count Sketch's F2-based error, and closes with Apriori's frequency-based pruning for finding co-occurring items.

Key takeaways

Chapters

0:00 Course Logistics: Midterm, Homework, and Project Check-ins
8:35 Streaming Model: Summarizing an Ordered Sequence with Limited Memory
13:36 Frequency Queries and Why Exact Counts Are Too Expensive
16:48 Frequency Moments F₀, F₁, and F₂
21:54 Additive Frequency Approximation: Error εm for Every Item
25:45 Uniform Sampling for Frequency Estimation
33:40 Sampling Cost and the Majority-Item Warm-up
35:25 Boyer–Moore Majority Vote by Pairwise Cancellation
43:00 Misra–Gries: Tracking Multiple Frequent-Item Candidates
49:00 Why Misra–Gries Decrements Every Counter
53:30 Misra–Gries Error Bound and Underestimation
58:30 Misra–Gries Applications and Count-Min Sketch Trade-offs
1:03:10 Count-Min Sketch: Hash Rows and Counter Updates
1:08:20 Count-Min Queries, Minimum Estimates, and Space
1:14:30 Count Sketch: Unbiased Estimates with F₂-Based Error
1:16:30 Apriori: Pruning Candidate Itemsets in Market-Basket Data

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:19 Uh, Scratch, let's get started. Oh, welcome back everyone. Um, today we'll talk about streaming algorithms more. We're going to talk about what sounds like a fairly simple problem. So, the frequency approximation problem. Uh so we're just counting things that are very frequent. Um so this is kind of a fairly fundamental thing in data mining. Um so uh but it um so the nice thing about within the streaming realm is we will see kind of three different algorithms for this maybe four uh depending on time. Um, one we kind of essentially saw already, but these will kind of give a nice overview of the landscape of the

1:08 main ideas that show up in other streaming algorithms. And later in the semester, we'll see these same sort of ideas extended to kind of more complicated problems. Um, yeah, before we get into this, let's just go back to the schedule. We are um oh here in the schedule um so the clustering homework is due at the end of the day today. There are still my office hours right after class and then I think Arman also has his office hours in in so me just after that. So, if you still have questions about the clustering homework, um the the data collection report, I think I reviewed them and then

1:56 Natia said there are posts. I didn't confirm everything, but I think we got feedback on that. You have any questions about progress, how things are going. I'm kind of keeping a more of a looser eye on the projects at this point. one of the TA's fraud is kind of in charge of keeping track of all this for me. Um, so I'm I'm reading some of them and checking in, but if you have specific questions, what

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, UofU Data Science.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.