unit8co/darts

Improve numerical stability of the NLL computation for some distributions

開放

#621 建立於 2021年12月1日

 (0 則留言) (0 個反應) (0 位負責人)Python (762 個分叉)batch import
good first issueimprovement

倉庫指標

星標
 (6,832 顆星)
PR 合併指標
 (平均合併 143天 16小時) (30 天內合併 16 個 PR)

描述

Not all Likelihoods have numerically-stable computaiton of the NLL. By default, we rely on the log_prob() function of the PyTorch Distribution objects, but it might not be the best way to get numerically stable gradients. I think it’s fairly easy to build cases where Negative Binomial fails for instance.

See: #663

Also for the Weibull distribution, the outputs changed when we changed the shape of the network outputs, which is weird and ideally should be investigated. Not clear if that’s due to numerical instability…

貢獻者指南