Minkowskietäetäisyys
Minkowskietäisyys, also known as Minkowski distance or L_p distance, is a metric in a vector space. It is a generalization of the Euclidean distance and the Manhattan distance. For two points x and y in an n-dimensional space, the Minkowski distance with parameter p is defined as the p-th root of the sum of the absolute differences of their corresponding coordinates raised to the power of p. Mathematically, it is expressed as d_p(x, y) = (sum_{i=1}^n |x_i - y_i|^p)^(1/p).
The parameter p can be any real number greater than or equal to 1. When p=1, the
The Minkowski distance is widely used in various fields, including machine learning, pattern recognition, and data