multinom_entropy: Cross-Tasks multinomial entropy

Description Usage

Description

Say r indexes tasks and k indexes latent source clusters. Then, this term is sum_r = 1^R \sum_k = 1^K pi_k^(r) \log(\pi_k^(r))

I really should be using the log-sum-exp trick, but hopefully pi never gets too small in these preliminary experiments.

Usage

1

krisrs1128/bayesMult documentation built on May 20, 2019, 1:26 p.m.