Ds Module 5
Ds Module 5
Ds Module 5
21IS5C05
Data Science
Module 5
Rampur Srinath
NIE, Mysuru
rampursrinath@nie.ac.in 1
Machine Learning
as a surrogate,
The most widespread distance metric is the Minkowski
distance:
The best-known instantiations of this metric
are as follows:
• when p = 2, we have the Euclidean distance,
• when p = 1, we have the Manhattan distance, and
• when p = inf, we have the max-distance. In this case, the
distance corresponds to the component |ai − bi| with the
highest value.
Euclidean Distance