Machine Learning, Aritificial Intelligence, Data Science.
well-defined distance function (metric) d. The metric d is a function that formalizes the notion of distance between elements of the set M. L1 and L2 distances are some popular examples for the metric in ML. To qualify as a metric function, three simple conditions must be satisfied. Non-negativity: