get_x_from_u returns incorrect or NaN values for (beta-)distributions
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start by running the attached issue_beta_distribution.py reproducer and inspect the implementation of .get_x_from_u() for beta distributions. Compare its results for the narrow distribution described in the issue with scipy. Done means the reproducer produces no NaN or incorrect values.
由索引模型根据 Issue 内容生成。
描述
Probabilistic library version checks
- I have checked that this issue has not already been reported.
- I have checked that this bug exists on the latest version of Probabilistic library here.
Current behaviour
narrow beta-distributions return incorrect or NaN values:
reproduce issue as follows:
issue_beta_distribution.py
Desired behaviour
no NaN values and no incorrect output for .get_x_from_u(), i.e. level of robustness as scipy.
Additional context
run into this problem in a brute force Monte Carlo analysis with one of the variables defined as
x_i.distribution = DistributionType.beta
x_i.mean = 0.7
x_i.deviation = 0.05
- 主要语言
- C++
- 星标
- 9
- 派生
- 1
- 平均合并
- 2 天 19 小时
- 30 天内合并 PR
- 11
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Deltares/ProbabilisticLibrary 的其他 Issue
-
documentation
难度 1/5 1 小时以内 新手友好度 85/100
Deltares/ProbabilisticLibrary#340 ·
维护者通常 2 天内回复
-
enhancement Prob lib C++
难度 4/5 3-5 天 新手友好度 48/100
Deltares/ProbabilisticLibrary#414 ·
维护者通常 2 天内回复
-
Remove enumeration of known types from server handling可能已有人在做 @epsig 于 4 天前认领。 未关闭enhancement
Deltares/ProbabilisticLibrary#413 · 2 条评论 · 已指派 2 人 ·
维护者通常 2 天内回复
-
enhancement Prob lib C++
难度 5/5 一周以上 新手友好度 35/100
Deltares/ProbabilisticLibrary#411 ·
维护者通常 2 天内回复
-
enhancement Prob lib C++
难度 4/5 3-5 天 新手友好度 43/100
Deltares/ProbabilisticLibrary#410 ·
维护者通常 2 天内回复
查看 Deltares/ProbabilisticLibrary 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 90/100
维护者通常 2 天内回复
-
bug data-types
难度 2/5 1-3 小时 新手友好度 76/100
ClickHouse/clickhouse-cpp#645 ·
维护者通常 1 天内回复
-
bug compatibility difficulty:easy prio:normal
难度 2/5 1-3 小时 新手友好度 74/100
NatronGitHub/openfx-misc#524 ·
维护者通常 1 天内回复
-
documentation enhancement help wanted P0
难度 2/5 1-3 小时 新手友好度 68/100
Awesome-Embedded-Learning-Studio/Tutorial_AwesomeModernCPP#359 ·
维护者通常 1 天内回复
-
Type: Bug
难度 2/5 1-3 小时 新手友好度 82/100
openscad/openscad#7360 · 2 条评论 ·
维护者通常 1 天内回复