I'm working on a document clustering application and decided to use Normalized Mutual Information as one of the measures of effectivenes. But I don't really understand how to implement this in that situation. In http://nlp.stanford.edu/IR-book/html/htmledition/evaluation-of-clustering-1.html the the formula is transformed to (185), and in this publication (www.shi-zhong.com/papers/comptext2.pdf, page 8, formula 17) it looks slightly different, n(h,l) is not divided by total number of documents N. So, which formula is correct? I would be very grateful for possibly simple explantation.
2026-03-25 12:52:28.1774443148
Mutual Information for clustering
5.6k Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in STATISTICS
- Given is $2$ dimensional random variable $(X,Y)$ with table. Determine the correlation between $X$ and $Y$
- Statistics based on empirical distribution
- Given $U,V \sim R(0,1)$. Determine covariance between $X = UV$ and $V$
- Fisher information of sufficient statistic
- Solving Equation with Euler's Number
- derive the expectation of exponential function $e^{-\left\Vert \mathbf{x} - V\mathbf{x}+\mathbf{a}\right\Vert^2}$ or its upper bound
- Determine the marginal distributions of $(T_1, T_2)$
- KL divergence between two multivariate Bernoulli distribution
- Given random variables $(T_1,T_2)$. Show that $T_1$ and $T_2$ are independent and exponentially distributed if..
- Probability of tossing marbles,covariance
Related Questions in DATA-ANALYSIS
- Calculating an average of other averages
- When extrapolating for projections, how do you know which function-form to use?
- Log base e versus log base 10 for semilog plot, how do I recognize the type of curve my data fits?
- Book Recommendation for Analyzing Experimental Results
- MLE of non-numerical variables?
- How to tell when a data series is a normal distribution
- Counting occurrences of elements from data stream
- Based on the coinmarket cap api, how do they calculate the bitcoin percent change
- Statistical analysis of study with categorical and numerical variables
- If I divide one column of a matrix by another, do I get new "information"?
Related Questions in PATTERN-RECOGNITION
- remove uniform distributed noise with 0 mean and j variance from my data
- Is this pattern solvable?
- Does a sum require 2+ numbers, such as $sum(a, b, ...)$? Does $sum(n)$ imply $n + 0$?
- an exercise in 'Pattern Recognition and Machine Learning'
- Matchstick Patterns with limited numbers of matches eg 100, 1000
- Pattern Recognition and Machine Learning Exercise
- Patterns in solutions to simultaneous palindromes in two number bases
- Proof by induction for $\left(1−\frac14\right)\cdot\left(1−\frac19\right)\cdots\left(1−\frac1{n^2}\right)$ for all natural numbers $n$ with $n \ge 2$
- How to proceed in this proof?
- Hessian matrix computation for multi-layer neural networks (from Duda's book)
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?
Related Questions in DATA-MINING
- Elementary reference on Support Vector Machines
- Unification of data set using machine learning
- Can I use independence for bayesian network?
- Extrapolation of measurement data
- Matching Metric - How to Normalize for different Amounts in Equation
- In Fisher's LDA, what is $a_i =w^T x_i$ if $w$ is an unit vector and $x_i$ is an observation?
- How to interpret maximizing "separability and reciprocal of scattering" in Fisher's LDA?
- In raw stress, what does putting $\sum_{i <j} d_{ij}$ in denominator do?
- In PCA, why for every $x \in \mathbb{R}^n$, $x=\sum_{k=1}^n u^T_k x \space u_k$?
- Why/when is there $\frac{1}{2}$ in front of Least Squares Estimator?
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?
Each clustering algorithm $C=\{C_1,\dots,C_k\}$ defines the probability distribution $P_{\mathcal C}$
$$P_{\mathcal C}(i)=\frac{n_i}{N},$$
where $n_i$ is the number of points in the $i$-th cluster $C_i$ and $n$ is the total number of points in the data cloud. Different cluster algorithms can determine different numbers of clusters, of course.
For any distributions $P_{\mathcal C_1}=(p_1,\cdots,p_n)$ and $P_{\mathcal C_2}=(q_1,\cdots,q_m)$ the mutual information $I(p,q)$ is just
$$I(p,q)=\sum_{i,j}R(i,j)\log\frac{R(i,j)}{P_{\mathcal C_1}(i)P_{\mathcal C_2}(j)},$$
denoting by $R(i,j)$ the joint probability distribution. Using the definition for $P_{\mathcal C_i}$ and $R$, i.e.
$$P_{\mathcal C_1}(i)=\frac{n_i}{N} $$ $$P_{\mathcal C_2}(j)=\frac{m_j}{N} $$ $$R(i,j)=\frac{n_{i,j}}{N}:=\frac{|n_i\cap m_j|}{N}$$
we arrive at
$$I(P_{\mathcal C_1},P_{\mathcal C_2})=\sum_{i,j}\frac{n_{i,j}}{N}\log\frac{\frac{n_{i,j}}{N}}{\frac{n_i}{N}\frac{m_j}{N}}=\sum_{i,j}\frac{n_{i,j}}{N} \log\frac{N n_{i,j}}{n_i m_j},$$
as in http://nlp.stanford.edu/IR-book/html/htmledition/evaluation-of-clustering-1.html, formula (185).
The same formula for the mutual information contained in http://machinelearning.wustl.edu/mlpapers/paper_files/StrehlG02.pdf and cited in http://www.shi-zhong.com/papers/comptext2.pdf does not contain the factor $\frac{1}{N}$, as you correctly remark.
I would use the above formulation for the mutual information, as it implements the correct probabilitstic view for the univariate and joint distributions.
Remark Note that in http://machinelearning.wustl.edu/mlpapers/paper_files/StrehlG02.pdf the assertion at pag. 589 "I(X,Y) is a metric" is wrong. The mutual information $I(X,Y)$ is equivalent to a Kullback Leibner divergence and it is no metric (or distance). The information value (or variation of information) is a metric, instead. Please look at http://en.wikipedia.org/wiki/Variation_of_information for more details.