Table 2.
Mathematical formulation of different distance metrics
| Metric | Mathematical representation |
|---|---|
| Euclidean | |
| City block | |
| Cosine | |
| Spearman | |
| Correlation | |
Mathematical formulation of different distance metrics
| Metric | Mathematical representation |
|---|---|
| Euclidean | |
| City block | |
| Cosine | |
| Spearman | |
| Correlation | |