mutual_info: Mutual Information Between Clusterings
Description
Computes the mutual information between two
clusterings, such as a predicted and ground truth clustering.
Usage
mutual_info(true, pred, base = exp(1))
Arguments
true
ground truth clustering represented as a membership
vector. Each entry corresponds to an element and the value identifies
the assigned cluster. The specific values of the cluster identifiers
are arbitrary.
pred
predicted clustering represented as a membership
vector.
base
base of the logarithm. Defaults to exp(1).
Details
Mutual information is an entropy-based measure of the similarity
between two clusterings.