Save this video free

UUtah Data Mining | Fall 2026 | L17: Distance Metric Learning

UofU Data Science · 1:21:37 · Watch on YouTube

UUtah Data Mining | Fall 2026 | L17: Distance Metric Learning Watch on YouTube →

Overview

Distance metric learning can turn similarities, pairwise distances, or class labels into useful low-dimensional Euclidean representations by building a matrix and using its eigenvectors. The lecture derives classical multidimensional scaling (MDS) through double-centering squared distances and linear discriminant analysis (LDA) through between-class and within-class covariance, then introduces learning a low-rank Mahalanobis metric from close and far pairs.

Key takeaways

Chapters

0:00 Project Report Deadlines and Peer Feedback Plans
7:28 Why Distance Metric Learning Is Needed
15:15 Similarity Matrices from Graphs, Kernels, and Dot Products
20:18 Eigenvectors Turn Pairwise Similarities into Embeddings
28:45 Similarity Embeddings and the Dot-Product Interpretation
32:28 Classical MDS Starts from a Pairwise Distance Matrix
37:57 Recovering Inner Products from Squared Distances
42:40 Centering the Coordinates for Classical MDS
47:53 Classical MDS: Double-Center, Decompose, and Project
50:59 What Double-Centering Does to Squared Distances
55:41 LDA Uses Class Labels to Find Useful Directions
1:00:43 LDA Measures Between-Class and Within-Class Spread
1:06:55 LDA’s Generalized Eigenproblem Separates Classes
1:12:39 Why t-SNE and UMAP Require Careful Validation
1:16:29 Validate Embeddings Against Labels and Linear Structure
1:19:37 Close and Far Pairs Introduce Mahalanobis Metric Learning

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

Transcript excerpt

0:17 Um, so welcome back everyone. So let's get started. Uh, today we're going to talk about uh, distance metric learning. Um, so uh Uh, uh, um, so I'm going to if you look up a survey of the of so distance metric learning, this is probably not the progression we're going to do. We're going to talk about multi-dimensional scaling. Um, uh, uh, um, so linear discriminant analysis and then get to some frameworks for what's called uh, distance metric learning. This is really going to show that if we think of this as an eigen value problem and how to get do learn values

1:05 learn scalings and uh, like um, so low-dimensional approximations using using the eigen value structure, we're going to be able to solve all these problems. So it's a trick you probably have maybe uh, uh, um, so hopefully mostly understand already, but we're going to kind of gradually build it and unlock it for more and more scenarios. So hopefully by the end of the lecture, you feel comfortable saying, I can apply this on here or there and all sorts of stuff. Um before we get started, as usual, let's um, we're going to look at the at the schedule and the big thing is the intermediate report for your project is due on Tuesday. Um, it is due at it's

1:56 due uh, uh, um, so on Canvas at 10:00 a.m. That's before you need to turn in online before class. And in class, you should bring some printed out copies. Okay, bring a a handful of printed out copies per group. Each group should bring a handful. What we're going to do in class on Tuesday is we're going to um Um, so I'm going to give oh, half of a lecture for about half of the period.

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

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.