Save this video free

UUtah Data Mining | Fall 2026 | L7 - LSH & Distribution Dist

UofU Data Science · 1:20:31 · 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

The lecture develops locality-sensitive hashing (LSH) from MinHash’s unbiased Jaccard estimator to banding, which combines hash functions into an S-shaped candidate-retrieval probability curve. It then presents LSH for angular and Euclidean similarity, explains how to sample random directions correctly, and compares probability-vector distances such as KL divergence and Hellinger distance with Wasserstein earth mover’s distance for spatial distributions.

Key takeaways

Chapters

0:00 Project Deadlines and the Lecture’s Similarity-and-Distance Scope
4:00 MinHash Collision Probability Estimates Jaccard Similarity
8:30 A MinHash Sketch Averages Independent Hash Functions
13:30 LSH Turns Similarity Estimates into Fast Candidate Retrieval
19:30 OR and AND Combinations Trade False Negatives for False Positives
26:00 Banding Combines Strict Hash Keys with Multiple Chances to Match
31:00 Banding Produces the LSH S-Curve
37:00 Adjusting Band Size and Count Moves the Similarity Threshold
42:00 Random-Projection Hashes for Angular Similarity
47:00 Uniform Directions Require Gaussian Sampling, Not a Normalized Box Sample
52:00 Randomly Shifted Bins Create One-Dimensional Euclidean LSH
58:00 Projection Extends Shifted-Bin LSH to Euclidean Space
1:01:00 County Counts Become Probability Vectors on a Simplex
1:07:00 KL Divergence and Hellinger Distance Compare Discrete Distributions
1:12:00 Wasserstein Distance Preserves Geometry Between Point Distributions
1:16:00 Distance Choice Is a Modeling Decision for Clustering

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

Transcript excerpt

0:17 Great. So, let's get started. Welcome back everyone. Um, today we're going to um we're going to talk about local sense of hashing and this will be the last lecture in the section on similarities and distances. Um I'll also talk about distances for or distributions. Um this lecture will kind of try to cover a lot of material and I'm going to kind of fly through stuff. Um the locality sensitive hashing used to be a larger component of the course and so I still think it's kind of neat and interesting and uh um so useful. So, I'm going to try and kind of explain how

1:04 this works. Um, but we're going to go through fairly quickly and I'm also going to talk about and you're going to do something based on on your homework. So, that's uh um an important reason to cover it. Uh also talk about some um some distances for distributions. Um this will be important because you a lot of you a number of you will end up using this sort of modeling inside your projects. It's a useful way to think about a different way to to to represent your data in the space. And so we'll we'll talk about this as well. I'll probably get to the some basic and straightforward ways to do this, but

1:53 there's going to be a lot more information covered in the notes. I'm probably not going to be able to get to. Um, so if you want I'll probably give a I'll try and give a preview of that and then and then if you need that for your project, you'll you'll know where to look and then you can ask me about it if you need more. Um, okay. Before we get started, um I want

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.