This function computes the n-by-n matrix whose (i,j)
element gives the (estimated) expected number of times that i and
j are in the same subset (i.e, cluster).
This is the (estimated) probability that items are clustered together.
These estimates are based on the frequencies from the supplied,
randomly-sampled clusterings.
Usage
expectedPairwiseAllocationMatrix(x)
Arguments
x
A
collection of clusterings as a
B-by-n matrix, each of the B rows represents a
clustering of n items using cluster labels. For clustering
b, items i and j are in the same cluster if
x[b,i] == x[b,j].
Value
A n-by-n symmetric matrix whose (i,j) elements
gives the estimated expected number of times that items i and
j are in the same subset (i.e, cluster) based on the
frequencies from the supplied clusterings.