Closed alex-lew closed 5 years ago
This uses the log-sum-exp trick to normalize the log weights, avoiding divide by 0 when weights are very negative. It also fixes the scorer for log-categorical, which seemed to be calculating a CDF, rather than a PDF, before.
log-categorical
This uses the log-sum-exp trick to normalize the log weights, avoiding divide by 0 when weights are very negative. It also fixes the scorer for
log-categorical
, which seemed to be calculating a CDF, rather than a PDF, before.