concept euclidean distance in category machine learning

appears as: Euclidean distance, Euclide distance, Euclide distance, The Euclide distance
Mahout in Action

This is an excerpt from Manning's book Mahout in Action.

This similarity metric, like EuclideanDistanceSimilarity, refuses to work without preference values because its results would be undefined or meaningless, producing useless results. The Pearson correlation between two data sets will be undefined if the two data sets are simply the same value, repeated. Here, the DataModel pretends that all preference values are 1.0. Similarly, computing a Euclidean distance between users who all correspond to the same point in space—(1.0, 1.0, ..., 1.0)—would be meaningless because all similarities would be 1.0.

We looked at the classic user similarity metric, based on the Pearson correlation, noted some possible issues with this approach, and looked at responses such as weighting. We looked at similarity metrics based on the Euclidean distance, Spearman correlation, Tanimoto coefficient, and log-likelihood ratio.