ECE 417 Lecture 2 Metric Norm Learning Mark
- Slides: 26
ECE 417 Lecture 2: Metric (=Norm) Learning Mark Hasegawa-Johnson 8/31/2017
Today’s Lecture • Similarity and Dissimilarity of vectors: all you need is a norm • Example: the Minkowski Norm (Lp norm) • Cosine Similarity: you need a dot product • Example: Diagonal Mahalanobis Distance • What is Similarity? • Metric Learning
Norm (or Metric, or Length) of a vector •
Distance between two vectors •
Today’s Lecture • Similarity and Dissimilarity of vectors: all you need is a norm • Example: the Minkowski Norm (Lp norm) • Cosine Similarity: you need a dot product • Example: Diagonal Mahalanobis Distance • What is Similarity? • Metric Learning
Example: Euclidean (L 2) Distance •
Example: Euclidean (L 2) Distance • Attribution: Gustavb, https: //commons. wikimedia. org/wiki/File: Unit_circle. svg
Example: Minkowski (Lp) Norm •
Example: Minkowski (Lp) Distance • Attribution: Krishnavedala, https: //en. wikipedia. org/wiki/Lp_space#/media/File: Superellipse_rounded_diamond. svg
Example: Minkowski (Lp) Distance • Attribution: Joelholdsworth, https: //commons. wikimedia. org/wiki/File: Astroid. svg
Manhattan Distance and L-infinity Distance • Attribution: Esmil, https: //commons. wikimedia. org/wiki/File: Vector_norms. svg
Today’s Lecture • Similarity and Dissimilarity of vectors: all you need is a norm • Example: the Minkowski Norm (Lp norm) • Cosine Similarity: you need a dot product • Example: Diagonal Mahalanobis Distance • What is Similarity? • Metric Learning
Dot product defines a norm •
Cosine • Attribution: CSTAR, https: //commons. wikimedia. org/wiki/File: Inner-product-angle. png
Today’s Lecture • Similarity and Dissimilarity of vectors: all you need is a norm • Example: the Minkowski Norm (Lp norm) • Cosine Similarity: you need a dot product • Example: Diagonal Mahalanobis Distance • What is Similarity? • Metric Learning
Example: Euclidean distance •
Example: Mahalanobis Distance •
Example: Mahalanobis Distance Attribution: Piotrg, https: //commons. wikimedia. org/wiki/File: Mahalanobis. Dist 1. png
Today’s Lecture • Similarity and Dissimilarity of vectors: all you need is a norm • Example: the Minkowski Norm (Lp norm) • Cosine Similarity: you need a dot product • Example: Diagonal Mahalanobis Distance • What is Similarity? • Metric Learning
What is similarity?
What is similarity? Roundness Typical Ocean Peach Ocean at Sunset Redness
Today’s Lecture • Similarity and Dissimilarity of vectors: all you need is a norm • Example: the Minkowski Norm (Lp norm) • Cosine Similarity: you need a dot product • Example: Diagonal Mahalanobis Distance • What is Similarity? • Metric Learning
Metric Learning The goal: learn a function f(x, y) such that, if the user says y 1 is more like x and y 2 is less like x, then f(x, y 1) < f(x, y 2)
Mahalanobis Distance Learning •
Sample problem •
- Ece 417
- Ece 417
- Metric mania conversion challenge
- Southwest flight 417
- Joanna savarese
- Cmsc 417
- Cmsc 417
- Department of transportation
- Cmsc 417
- Unit operations
- Campaign_id:417
- Cmsc 417
- Stripping rectifying section
- Dmv on university boulevard
- 01:640:244 lecture notes - lecture 15: plat, idah, farad
- Cuadro comparativo de e-learning
- Introduction to machine learning slides
- Ethem alpaydin
- Introduction to machine learning slides
- Norm rule fields
- Norm of a vector
- Types of evaluation ppt
- Advantages of criterion-referenced assessment
- Conscience as a proximate norm of morality example
- Culture conflict theory
- Descriptive norm
- Grade and section meaning