Wikipedia / Variation of information
Wikipedia / Variation of information
In probability theory and information theory, the variation of information or shared information distance is a measure of the distance between two clusterings (partitions of elements). It is closely related to mutual information; indeed, it is a simple linear expression involving the mutual information. Unlike the mutual information, however, the variation of information is a true metric, in that it obeys the triangle inequality.
Definition
Suppose we have two partitions of a set.
Let:
Then the variation of information between the two partitions is:
.
This is equivalent to the shared information distance between the random variables i and j.
Explicit information content
We can rewrite this definition in terms that explicitly highlight the information content of this metric.
The set of all partitions of a set form a compact lattice.
as
,
.
is given by
.
.
If in the Hasse diagram, we can interpret the VI distance as basically an average of differences of edge weights to the maximum
.
as defined above, it holds that the joint information of two partitions coincides with the entropy of the meet
.
Identities
The variation of information satisfies
,
is the entropy is mutual information. This can be rewritten as
,
is the joint entropy, or
,
are the respective conditional entropies.
The variation of information can also be bounded, either in terms of the number of elements:
,
:
Triangle inequality
which is no less than the left side.
References
Further reading
External links
Partanalyzer includes a C++ implementation of VI and other metrics and indices for analyzing partitions and clusterings