Save this video — free

UUtah Fall 2026 | Data Mining | L4 - Metric Distances

UofU Data Science · 1:19:35 · Watch on YouTube

UUtah Fall 2026 | Data Mining | L4 - Metric Distances Watch on YouTube →

Overview

Metric distances are modeling choices in data mining: they define which data points count as close, affect algorithm behavior, and can change project outcomes. The lecture develops the metric axioms and the Lp family (including Euclidean L2, Manhattan L1, and maximum-coordinate L∞), then introduces Mahalanobis distance for feature weighting and cosine-based measures for embeddings, distinguishing cosine distance from the angular metric.

Key takeaways

Chapters

0:00 Why Distance Is a Data-Mining Modeling Choice
3:42 Representing Data and Defining a Distance Function
8:00 Euclidean Distance Between Two-Dimensional Points
11:04 The Four Axioms of a Metric
16:42 Relaxed Metrics: Collisions and Directional Travel Costs
22:32 The Lp Distance Family and Its General Formula
25:39 L2 Euclidean and L1 Manhattan Distances
28:28 L∞ Distance as the Largest Coordinate Difference
32:12 Distance Units and Lp Balls in Two Dimensions
37:22 Lp Ball Geometry and Why p Below 1 Fails
48:21 Why Feature Units Matter: Height and Weight
53:56 Mahalanobis Distance for Feature Scaling and Weighting
57:41 Identity, Diagonal Weights, and Correlated Features
1:05:21 Cosine Distance and Cosine Similarity for Embeddings
1:08:39 Why Angular Distance Is a Metric on the Unit Sphere

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

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.