Euclidean distance for numerical and nominal values. For nomimal values, a distance of one is accounted if both values are not the same.