In the heterogeneous distance metric, the situation is more complicated because the nominal and numeric
distance values come from different types of measurements. It is therefore necessary to find a way to scale
these two different measurements into approximately the same range in order to give each variable a similar
influence on the overall distance measurement.