NO.PZ202212020100001202
问题如下:
Calculate the Euclidean and Manhattan distances between banks A and B in feature space for the raw data, and separately for the standardized and normalized data. Repeat these calculations for the distances between banks B and C.
选项:
解释:
The Euclidean distance is the square root of the sum of the squares of the distances between the feature for one bank and the corresponding feature for the other bank summed over all the features. In the case of banks A and B on the raw data, the calculation would be
The Manhattan distance for the same pair of banks and again using the raw data is the sum over all the features of the absolute differences between the corresponding feature pairs:
The answers for the normalized and standardized data are
Euclidean和 mahattan 的standardized data的计算是不是要ab ac bc的 distance 先计算