powered by
Description of the entropy function.
entropy(a, b)
a list of four objects:
uv the joint entropy
uv
u the conditional entropy of partition a
u
a
v the conditional entropy of partition b
v
b
sort_pairs the output from the sort_pairs function
sort_pairs
a vector of classifications; this must be a vector of characters, integers, numerics, or a factor, but not a list.
a vector of classifications
A function to compute the empirical entropy for two vectors of classifications and the joint entropy