Save this video free

UUtah F2026 | Data Mining | L6 - Similarities

UofU Data Science · 1:20:18 · 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 similarity as a way to score how alike objects are, then uses Jaccard similarity to compare sets of text shingles. It explains how k-gram choices shape document representations and introduces MinHash, whose key property is that two documents’ hash values collide with probability equal to their Jaccard similarity, a foundation for scaling similarity search with locality-sensitive hashing.

Key takeaways

Chapters

0:00 Project Proposal Requirements and Data Mining Project Scope
9:00 Homework 2: GloVe Embeddings and Approximate Similarity Search
12:00 Similarity Scores Reverse the Direction of Distance
17:00 Converting Similarities into Distances
23:00 Similarity as a Modeling Choice and the Limits of Approximation
27:00 Jaccard Similarity Measures Set Overlap
35:00 Bag-of-Words Vectors Count Terms but Ignore Word Order
41:00 K-Grams and Shingles Preserve Local Word Context
45:00 Text-Shingle Representations Require Explicit Modeling Choices
55:00 Character K-Grams Extend the Method Beyond Word Tokenization
57:00 Comparing Four Dr. Seuss Lines with Jaccard Similarity
1:02:00 Worked Jaccard Scores Show Overlap and Set Size Together
1:04:00 Jaccard Sets Avoid a Fixed Vocabulary
1:09:00 Scaling Similar-Document Search Beyond Brute Force
1:14:00 MinHash Targets Jaccard Similarity Through Collision Probability
1:18:00 The MinHash Minimum Enables One-Pass Document Processing

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

Transcript excerpt

0:15 Uh um um great. So um welcome back. Let's get started. Uh so today we'll be talking about oh similarities which are kind of of a type of inverse of a distance and we'll be talking about how to work with them. uh and in particular go through an example of how these can model documents. Um oh oh um oh before we get into this I want to remind you all the first component of the project is due next week on Tuesday. Uh so that's the project proposal. Um so the project proposal really has two components to

1:05 it. One is you'll form a team, right? The teams are size two to three. Um so if you hopefully you've been talking with people, meeting people and able uh um um so able to form a team. Um if you haven't done so in class yet, uh great time after the class, meet down here at the posters, meet other people. There's also a post I made on the Canvas discussion board uh where you can use that to find other people. So if you're online and you haven't and you can't be here in class to meet people, well then you you can do this through the through the Canvas discussion board. There are already two people within that post and someone even earlier who had had posted

1:53 they that they were looking for um um um so a project partner um teams are of two or three the work will scale with the number of people on the team roughly um although there's only one poster at the end so so it's a little towards the very end there's only one poster but the amount I expect you to do on the project will will scale with with with the

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.