Calculate all the distances in the feature space relative to one feature