CodeForPhilly / CodeForPhilly/chime
["model"] Results from running files (models, __init__, parameters, constants, base, validators) from develop branch in notebook differ from CHIME web app census csv download
- 主要语言
- Python
- 星标
- 210
- 派生
- 153
- PR 合并指标
- 30 天内没有已合并 PR
描述
### Summary
I work for a data science team at a health system, we have limited knowledge/prior experience running docker containers etc so we downloaded (via urllib.request) the files in the src/pnn_chime folder to run locally and output csvs for patient census in each one of our regions our health system covers. code is in attached notebook. fyi, was having problems getting the relative imports to run so I regexed them out so the file could be run by exec().
The output from doing this direct file download and running is different than the output from the CHIME web app even though the same files should be running in both examples
### Additional details
ex row of region data:
Pop | current_hosp | date first hosp | doubling_time | initial_infections | hosp_rate | icu_rate | vent_rate | hosp_los | icu_los | vent_los | market_share
-- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | --
604227 | 14 | 3-18-2020 | 7 | 61 | 0.025 | 0.01 | 0.0075 | 7 | 9 | 10 | 0.233
output for that region
[2020-04-05_projected_census.xlsx](https://github.com/CodeForPhilly/chime/files/4435710/2020-04-05_projected_census.xlsx)
python notebook file as text file:
[automated_notebook_to_text.txt](https://github.com/CodeForPhilly/chime/files/4435713/automated_notebook_to_text.txt)
### Suggested fix
unknown
贡献指南
调研方向
从附带的 automated_notebook_to_text.txt 以及 src/pnn_chime 下的文件开始,包括 models、__init__、parameters、constants、base 和 validators。复现本地执行,并将其针对所提供区域生成的预测人口普查 CSV 或 XLSX 与 CHIME Web 应用的下载结果进行比较;完成的标准是解释清楚差异,并确定一项建议的修复方案。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- data
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 20/100