IN DEVELOPMENT

cross_entropy(x)

Arguments

x

an extracted data item

Value

the cross entropy of u and v

Details

Calculates the cross entropy of two vectors: u and v. This is useful is decribing how different two distributions (particularly if categorical) are.