variationOfInformation | R Documentation |
Compute the variation of information
H(P) + H(Q) - 2MI(P, Q)
where MI
is the mutual information, H
the partition entropy
variationOfInformation(p, q)
## S4 method for signature 'Partition,Partition'
variationOfInformation(p, q)
p |
The partition |
q |
The partition |
variationOfInformation(p = Partition, q = Partition)
: Compute given two partitions
Fabian Ball fabian.ball@kit.edu
Meila2003partitionComparison
\insertRefMeila2007partitionComparison
mutualInformation
, entropy
isTRUE(all.equal(variationOfInformation(new("Partition", c(0, 0, 0, 1, 1)),
new("Partition", c(0, 0, 1, 1, 1))),
0.763817))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.