This paper uses the term local weighting" to describe any scheme in
which the computed weights may vary depending on the classes of the cases
being compared, their feature values, or other variables. The number of locally
varying parameters the metric depends on determines the degree of locality