Use nice illustration of Sharpness and calibration
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- ドキュメント
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- r
調査の方向性
提供された R/ggplot2/patchwork コードと、生成された inst/manuscript/output/calibration-sharpness-illustration.png から始めます。現在の manuscript と vignettes を確認して適切な配置場所を特定し、その後、その illustration をそこで再利用すべきか確認します。画像とそのソースが合意した documentation の場所に配置されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
We have this illustration:
Generated by this code:
library(ggplot2)
library(patchwork)
library(scoringutils)
p1 <-
ggplot(data.frame(x = seq(-8, 8, 0.01),
x_example = rnorm(n = 1601, mean = 0, sd = 0.45)),
aes(x = x)) +
geom_function(fun = dnorm, colour = "black",
args = list(sd = 0.45)) +
expand_limits(y = c(0, 1.0), x = c(-3, 3)) +
scale_y_continuous(breaks = seq(0, 1, 0.25)) +
ggtitle("More sharp") +
theme_scoringutils()
p2 <-
ggplot(data.frame(x = seq(-8, 8, 0.01),
x_example = rnorm(n = 1601, mean = 0, sd = 1.25)),
aes(x = x)) +
geom_function(fun = dnorm, colour = "black",
args = list(sd = 1.25)) +
expand_limits(y = c(0, 1.0), x = c(-3, 3)) +
scale_y_continuous(breaks = seq(0, 1, 0.25)) +
ggtitle("Less sharp") +
theme_scoringutils()
p21 <- ggplot(data.frame(x = seq(-8, 8, 0.01),
x_example = rnorm(n = 1601, mean = 0, sd = 1.05)),
aes(x = x)) +
geom_histogram(aes(x = x_example, y = after_stat(density)), colour = "white", fill = "grey50") +
geom_function(fun = dnorm, colour = "black",
args = list(sd = 1)) +
ggtitle("Well calibrated") +
labs(y = "Density") +
theme_scoringutils()
p22 <- ggplot(data.frame(x = seq(-8, 8, 0.01),
x_example = rnorm(n = 1601, mean = 1, sd = 1.05)),
aes(x = x)) +
geom_histogram(aes(x = x_example, y = after_stat(density)), colour = "white", fill = "grey50") +
geom_function(fun = dnorm, colour = "black",
args = list(mean = 2, sd = 1)) +
ggtitle("Badly calibrated") +
labs(y = "Density") +
theme_scoringutils()
p23 <- ggplot(data.frame(x = seq(-8, 8, 0.01),
x_example = rnorm(n = 1601, mean = 0, sd = 1.05)),
aes(x = x)) +
geom_histogram(aes(x = x_example, y = after_stat(density)), colour = "white", fill = "grey50") +
geom_function(fun = dnorm, colour = "black",
args = list(mean = 0, sd = 2.05)) +
ggtitle("Badly calibrated") +
labs(y = "Density") +
theme_scoringutils()
(p1 + p2) /
(p21 + p22 + p23) &
plot_annotation(tag_levels = "A")
ggsave("inst/manuscript/output/calibration-sharpness-illustration.png",
width = 8, height = 3.8)
It was previously used in the manuscript, but not anymore. Maybe we want to use it somewhere else, e.g. in a vignette?
Maybe related to #759?
- 主要言語
- R
- スター
- 67
- フォーク
- 24
- 平均マージ
- 1時間 24分
- マージ済み PR(30日)
- 2
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
epiforecasts/scoringutils のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
epiforecasts/scoringutils#1264 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
epiforecasts/scoringutils#1265 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
epiforecasts/scoringutils#1260 ·
メンテナーはふだん 1 日以内に返信
-
Incorrect guidance in `NEWS.md` re `add_relative_skill()`?対応中かも @nikosbosse が 15 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
epiforecasts/scoringutils#1226 · コメント 1 件 · リアクション 2 件 ·
メンテナーはふだん 1 日以内に返信
-
get_pit_histogram(): unsorted breaks produce negative densities; num_bins = 1 returns an empty table対応中かも @nikosbosse が 15 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
epiforecasts/scoringutils#1219 ·
メンテナーはふだん 1 日以内に返信
epiforecasts/scoringutils の issue をすべて見る
似ている issue
-
data_bio2rarify - doc - dimensions wrong対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
leppott/BioMonTools#162 ·
-
publications
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
epiforecasts/epiforecasts.github.io#161 ·
メンテナーはふだん 1 日以内に返信
-
Label `{sas}` chunk source as `sas` instead of `txt`, so it gets syntax highlighting対応中かも @michaelmayer2 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
microbiome/OMA#1031 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
ThinkR-open/golem#1265 ·