Longer running infection feedback process
メンテナーはふだん 6 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
equations.md#infections と pyrenew/latent/infection_functions.py の new_double_convolve_scanner を読みます。記載されたオンラインフィードバックの更新から追加のスキャナーオプションを具体化し、その後、感染履歴全体を保持せずに、より長時間実行する推論をサポートできることを確認します。新しいスキャン関数が別のオプションとして利用可能になれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Goal
Add more options to feedback process on $\log R_t$, described here, which are efficient for longer running inference.
Context
IMO from basic principles fitting on data only from after a peak hospitalisation and before the next peak hospitalisation then the action of the feedback term will be pretty unidentifiable. However, the obvious downside of running the inference over longer time periods is that we would require a very long history of infections within the model to carry for inside scan.
From f2f discussion with @dylanhmorris we had a quick think about easier ways to model this.
IMO, the easiest way to have a long period of effect from feed back whilst avoiding heavy compute is:
F(t) = \gamma \sum_{\tau = 1}^{\infty}I(t-\tau)f(\tau) = \gamma \sum_{\tau = 1}^{\infty}I(t-\tau) \left(\lambda_f\right)^{\tau -1}.
Where $\lambda_f \in [0,1]$ is a forgetting factor, and $T_f = \infty$. Whilst exponential smoothing is pretty simplistic, it is handy because it has an on-line update rule:
F(t+1) = \gamma I(t) + \lambda_f F(t).
This means that scan only has to carry forward the feedback strength $F(t)$ rather than a long vector of past infections, in addition to the recent infections required for the new infection calculation.
NB:
- This approach would very likely work better with infection on a per capita scale and $F(0)$ is likely to be a parameter that needs inference.
- @dylanhmorris pointed out that more complicated models that exponential decay are possible e.g. a multi-stage Erlang decay.
Required features
- New scan function as another option to
new_double_convolve_scanner.
- 主要言語
- Python
- スター
- 30
- フォーク
- 11
- 平均マージ
- 6日 1時間
- マージ済み PR(30日)
- 10
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
CDCgov/PyRenew のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
メンテナーはふだん 6 日以内に返信
-
Update wastewater measurements tutorial to avoid representing 0 concentrations as `-inf` log concentrations対応中かも @cdc-mitzimorris が 6 日前に担当しました。 オープン
CDCgov/PyRenew#915 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 6 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
メンテナーはふだん 6 日以内に返信
-
Demonstrate how missing values should be specified and how they are handled対応中かも @cdc-mitzimorris が 10 日前に担当しました。 オープン
CDCgov/PyRenew#911 · コメント 5 件 · 担当者 1 名 ·
メンテナーはふだん 6 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
メンテナーはふだん 6 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
UKGovernmentBEIS/optstop#10 ·
-
maintenance
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
pollen-robotics/reachy_mini#1508 ·
メンテナーはふだん 1 日以内に返信
-
[BUG] `cloud-keys.env` values retain enclosing quotes causing 401 Unauthorized, and missing utf-8 encoding crashes on Windows対応中かも @divyanshu07-code が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
open-jarvis/OpenJarvis#1192 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
sylvainmetayer/homelab#851 ·
メンテナーはふだん 1 日以内に返信