I'm trying to use different distance metrics like Euclidean, Manhattan, cosine, chebyshev among other distance metrics in my k-means algorithm to calculate distances between the data points and the centers. In what situation would one distance metric be more useful over the other in a clustering scenario? [Comparing all the above mentioned distance metrics]
2026-03-28 23:59:15.1774742355
What are the use cases related to cluster analysis of different distance metrics?
227 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in METRIC-SPACES
- Show that $d:\mathbb{C}\times\mathbb{C}\rightarrow[0,\infty[$ is a metric on $\mathbb{C}$.
- Question on minimizing the infimum distance of a point from a non compact set
- Is hedgehog of countable spininess separable space?
- Lemma 1.8.2 - Convex Bodies: The Brunn-Minkowski Theory
- Closure and Subsets of Normed Vector Spaces
- Is the following set open/closed/compact in the metric space?
- Triangle inequality for metric space where the metric is angles between vectors
- continuous surjective function from $n$-sphere to unit interval
- Show that $f$ with $f(\overline{x})=0$ is continuous for every $\overline{x}\in[0,1]$.
- Help in understanding proof of Heine-Borel Theorem from Simmons
Related Questions in EUCLIDEAN-GEOMETRY
- Visualization of Projective Space
- Triangle inequality for metric space where the metric is angles between vectors
- Circle inside kite inside larger circle
- If in a triangle ABC, ∠B = 2∠C and the bisector of ∠B meets CA in D, then the ratio BD : DC would be equal to?
- Euclidean Fifth Postulate
- JMO geometry Problem.
- Measure of the angle
- Difference between parallel and Equal lines
- Complex numbers - prove |BD| + |CD| = |AD|
- Find the ratio of segments using Ceva's theorem
Related Questions in EXAMPLES-COUNTEREXAMPLES
- A congruence with the Euler's totient function and sum of divisors function
- Seeking an example of Schwartz function $f$ such that $ \int_{\bf R}\left|\frac{f(x-y)}{y}\right|\ dy=\infty$
- Inner Product Uniqueness
- Metric on a linear space is induced by norm if and only if the metric is homogeneous and translation invariant
- Why do I need boundedness for a a closed subset of $\mathbb{R}$ to have a maximum?
- A congruence with the Euler's totient function and number of divisors function
- Analysis Counterexamples
- A congruence involving Mersenne numbers
- If $\|\ f \|\ = \max_{|x|=1} |f(x)|$ then is $\|\ f \|\ \|\ f^{-1}\|\ = 1$ for all $f\in \mathcal{L}(\mathbb{R}^m,\mathbb{R}^n)$?
- Unbounded Feasible Region
Related Questions in APPLICATIONS
- Transition from theory of PDEs to applied analysis and industrial problems and models with PDEs
- Applied Maths: Equations of Motion
- What precisely is the Friendship Paradox (and is Wikipedia wrong?)
- Calculating half life from proteins
- Cryptocurrency Math
- Linear algebra book revolved around modern day applications.
- What will/should be the intention or purpose to compute and count prime numbers in the gap defined by two consecutive and large Mersenne primes?
- Gegenbauer functions and applications (esp. circular envelope special case)?
- How to prove that an application is invertible
- Closed form of $I(a)=\int_{0}^a {(e^{-x²})}^{\operatorname{erf}(x)}dx $ and is it behave similar with error function?
Related Questions in CLUSTERING
- clustering over sphere surface
- what is mean "Number of connected Triplets of vertices" in global clustering
- Algorithm To Disjointly Divide a Graph
- Which statistical test to use to chose how to assign a subgroup to one of two other groups.
- How do I compute the updates to the EM algorithm in Quantum Clustering?
- Cluster algorithm which minimizes a distance while fulfilling a constraint
- Detect clusters in an RGB space
- Prime Number Spiral Clusters
- Clustering via Pattern Formation
- What defines a convex Cluster and how it differentiates from other types?
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
You ask a great question. Deza & Deza's Dictionary of Distances catalogs hundreds of families of distance functions. And there are others that are not mentioned there but in other books such as Cichocki et al Nonnegative Matrix and Tensor Factorizations
Some observations:
Typically there are distinct weighing functions within any given family of metrics.
Not all metrics are applicable to all situations, so there are metrics used in data analysis that would not concern topologists, as well as composite metrics such as Hausdorff distance and Earth Movers Distance that apply primarily to 2 sets of objects rather than 2 objects.
Even the Greeks 2k years ago were aware of several, possibly up to 10, distinct definitions of mean, including of course arithmetic, geometric and harmonic means. It is not until the early 20th century that Chisini related all the definitions of means to an invariance principle. (Medians and quantiles are even more tricky requiring a formulation in terms of constrained optimization, not just invariance).
Results of data analysis tasks such as classification, clustering, regression and dimensionality reduction can sometimes be very sensitive to the choice of metric (data held fixed) and also can lead to completely different methodologies for solving the problem. For example, consider linear correlation in $L_2$ ("Least Squares" or Gauss's solution) versus $L_1$ (Least Absolute Deviations or Laplace's solution) loss functions. The $L_2$ metric penalizes outliers quadratically, whereas the $L_1$ metric penalizes outliers linearly, and there are examples where the sign of the linear regressor can flip (eg, from positive to negative or vice versa) just by switching from one to the other. (Also you can think of $L_2$ as being a differential method, where solutions are found by setting derivatives equal to zero, versus $L_1$ method which geometrically involves polyhedra.)
In summary, the choice of metric can certainly influence the results of even basic statistical data analysis tasks. It's a shame that statisticians understand very well that results are relative to such loss functionals, but applied scientists typically do not understand this and will compute and report an answer, as opposed to the answers.