Research faster Cox model routines
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 18/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 活跃
- 领域
- performance
调研方向
The issue names no file. The starting point is the survival::coxph call with a Surv formula and strata() term, which the package calls to get coefficients. Benchmark that call against a candidate .Call C routine, then check the coefficients match survival bit for bit. The scope of the routine and the API shape are still open questions for maintainers.
由索引模型根据 Issue 内容生成。
描述
From https://github.com/Merck/simtrial/issues/382#issuecomment-6151357774. Speed optimization room might exist for certain calls using functions from {survival}, such as:
survival::coxph(Surv(tte, event) ~ (treatment == "experimental") + strata(stratum), data = d)$coefficients
For example, this could be a direct .Call to a custom, bare metal C routine to cover the exact code paths used by the package while removing the irrelevant logic, while bitwise reproducing {survival} results.
Supporting certain "grammar" (syntax sugar) like survival did (formula interface, etc.) might slow things down for pure speed purposes, but it doesn't mean we should stop trying make good API designs even for bare metal underlying routines.
- 主要语言
- R
- 星标
- 41
- 派生
- 14
- 平均合并
- 12 小时 56 分钟
- 30 天内合并 PR
- 2
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Merck/simtrial 的其他 Issue
-
难度 5/5 一周以上 新手友好度 15/100
-
难度 5/5 一周以上 新手友好度 25/100
-
Missing updated bounds from `sim_gs_n()` changed from `Inf` to `NA` with latest {gsDesign2}可能重新可做 @jdblischak 于 30 天前认领,目前没有进行中的 PR。 未关闭
-
难度 3/5 1-2 天 新手友好度 68/100
-
Add spending time to `sim_gs_n`可能重新可做 @LittleBeannie 于 461 天前认领,目前没有进行中的 PR。 未关闭
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
atomashevic/transforEmotion#46 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
OHDSI/CohortConstructor#777 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
-
难度 2/5 1-3 小时 新手友好度 68/100
nmfs-ost/stockplotr#445 · 2 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 72/100
UCL-ARC/r-intermediate-good-practices#37 ·
维护者通常 2 天内回复