R/statistics.R
cross_entropy.Rd
IN DEVELOPMENT
cross_entropy(x)
an extracted data item
the cross entropy of u and v
u
v
Calculates the cross entropy of two vectors: u and v. This is useful is decribing how different two distributions (particularly if categorical) are.