-
Notifications
You must be signed in to change notification settings - Fork 870
Description
文档链接&描述 Document Links & Description
Exponential的api添加PR:#6413
API源码:https://github.com/PaddlePaddle/Paddle/blob/develop/python/paddle/distribution/exponential.py
预览文档:preview-Exponential-API文档
问题1:ICDF(k)
Exponential-API文档-PaddlePaddle深度学习平台 - icdf(k)
Q: 指数分布的逆累积分布函数,公式写错了吗?
指数分布的概率密度函数为:
指数分布的累积分布函数为:
通过解方程:
可以得到:
应该写成:
问题2:kl_divergence
预览链接:Exponential-API文档-kl_divergence(other)
这里是写成Geometric吗?
Exponential 分布是连续分布,定义在 kl_divergence(other) 计算的是 两个相同分布族之间的 KL 散度,因此参数 other 应该是Exponential,而不是 Geometric?
问题3:cdf和icdf中的 k和value
请提出你的建议/提个PR修复这个问题 Please give your suggestion/update a PR to fix it
是否存在以上问题? 如果核实之后,我将提交PR