Save this video free

UUtah Data Mining | Fall 2026 | L12: Steaming & Sampling

UofU Data Science · 1:21:32 · 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

Streaming algorithms process an ordered sequence of items while retaining only a small summary, making them useful for routers, high-traffic websites, and datasets too large to fit in memory. The lecture develops uniform reservoir sampling for one or K items, with and without replacement, and weighted sampling, including a one-item weighted reservoir update and priority sampling for weighted samples without replacement.

Key takeaways

Chapters

0:00 Streaming Algorithms and Sampling: Lecture Roadmap
1:34 Coursework and Midterm Preparation
8:51 Streaming Data as an Ordered Sequence
13:19 Small Summaries and One-Pass Updates
21:57 Router Traffic as a Streaming-Algorithm Use Case
26:01 Web Analytics, Large Files, and Time-Ordered Data
32:02 Warm-Up: Maintaining an Average in a Stream
38:04 Why Random Samples Summarize Common Structure
41:38 Sampling With Replacement Versus Without Replacement
47:16 Reservoir Sampling for One Uniform Item
51:37 Why One-Item Reservoir Sampling Stays Uniform
58:39 K Uniform Samples With Replacement
1:01:04 K-Item Reservoir Sampling Without Replacement
1:08:12 Weighted Sampling and Probability-Proportional Selection
1:13:34 Weighted Reservoir Sampling for One Draw
1:16:36 Priority Sampling for Weighted Samples Without Replacement

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

Transcript excerpt

0:17 Welcome back everyone. So let's get started. Um but today we're gonna u um we're going to start a new section on streaming algorithms. This is kind of a kind of way of modeling some really key um so scenarios in the data mining for dealing with very large data. Uh so we'll look specifically at this streaming model which is a kind of acute well-defined model that that it does actually model real things but it also kind of reveals a lot of the core structure in algorithms when we do want to scale things up. So we'll talk about some kind of extensions to this model. ideas we will apply under this setting

1:05 we'll be able to port and um um into a lot of other settings as well and um so within this thing we'll look at the problem of just sampling so how do we do like a good uh um like a good sample of data this um um this will be the main topic today and there there are a bunch of variants of how you do samplings we'll we'll try and break these down so you understand the differences Um uh okay before we get started let's look at the um so the schedule the homework on similarity is almost graded. I hope to have this out by the end of the week. That'd be tomorrow. Um so uh um and so then if there are questions about the

1:55 the grading on any of the assignments, you can file a regrade request u um um inside grade scope um um if that happens. Um [clears throat] so and then the clustering homework is going to be due on Tuesday next week. Uh so so we've we've already covered all the lectures on clustering. So um um

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.