Warn on `±Inf` in `check_model`

オープン
#889 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

  • #1 @ArpanC6 による — マージされずにクローズ
  • #1384 @ArpanC6 による — マージされずにクローズ

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
julia

調査の方向性

check_model 関数と pull request #888 の変更から始めてください。右側の分布の台に Inf が含まれる場合に ±Inf 値をどのように扱うべきかを、多変量分布および積分布も含めて判断してください。完了条件は、check_model が適切な警告または情報メッセージを提供し、有効な値を誤って指摘しないことです。

索引モデルが issue の本文から書いたものです。

説明

enhancement

https://github.com/TuringLang/DynamicPPL.jl/pull/888 modifies the check_model function such that it errors if any NaN's are encountered on the left-hand side of a tilde statement.

This issue is to record the idea that there could be some kind of warning / info message for ±Inf as well. However, this would depend on whether it's reasonable to have Inf as a value; if Inf is actually in the support of the distribution on the right, then it would be fine.

Anyone implementing this would have to be careful about doing it correctly for multivariate distributions, especially product distributions.

主要言語
Julia
スター
291
フォーク
43
平均マージ
1日 23時間
マージ済み PR(30日)
15

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

TuringLang/DynamicPPL.jl のほかの issue

TuringLang/DynamicPPL.jl の issue をすべて見る

似ている issue

Julia の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。