easy way to limit sampling to a maximum time duration
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
首先阅读 cmdstanr 的 sampling API,并将其行为与 issue 中提到的 R.utils withTimeout 替代方案进行比较。将完成定义为:允许配置最大的 sampling 时长,在达到限制时将本次运行记录为失败,并允许处理下一个数据集;找到并更新相关的 sampling 测试。
由索引模型根据 Issue 内容生成。
描述
Is your feature request related to a problem? Please describe.
I have a model that often runs in a reasonable amount of time, but occasionally, when faced with unpleasant data, will continue to sample for 4+ hours. Rather than wait, I'd prefer just to record the failure and move on to the next dataset.
Describe the solution you'd like
I'd like to be able to bound the maximum time duration for sampling.
Describe alternatives you've considered
Maybe there is some R package that wrap cmdstanr's sampling API and offer this functionality? Oh, hm, I found withTimeout in the R.utils package.
- 主要语言
- R
- 星标
- 160
- 派生
- 69
- 平均合并
- 18 小时 34 分钟
- 30 天内合并 PR
- 28
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
stan-dev/cmdstanr 的其他 Issue
-
Compiled model methods and `expose_functions` fail to load when RcppParallel's TBB is already in the session可能已有人在做 @jgabry 于 8 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
stan-dev/cmdstanr#1270 · 1 条评论 ·
维护者通常 1 天内回复
-
documentation
难度 2/5 1-3 小时 新手友好度 64/100
stan-dev/cmdstanr#506 · 6 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
Let fits compress their own output CSVs可能已有人在做 @VisruthSK 于 4 天前认领。 未关闭feature
难度 5/5 一周以上 新手友好度 42/100
stan-dev/cmdstanr#1276 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 78/100
维护者通常 1 天内回复
-
`cmdstan_version_compare()` conflates no version with old version可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 3/5 1-2 天 新手友好度 65/100
维护者通常 1 天内回复
查看 stan-dev/cmdstanr 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 90/100
-
难度 2/5 1-3 小时 新手友好度 65/100
OHDSI/CohortSymmetry#369 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 90/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
Open-Systems-Pharmacology/OSPSuite.ParameterIdentification#330 ·