Proposal to Add Penalized Brier Score (PBS) and Penalized Log Loss (PLL) Methods
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- python
調査の方向性
Read the linked reference implementation and its unit tests for PBS and PLL, then compare their API and scoring conventions with the existing scoringrules package. The issue proposes two new scoring methods but names no package files or tests; done would mean both methods are integrated with tests covering the stated propriety conditions.
索引モデルが issue の本文から書いたものです。
説明
Hello @frazane ,
First, thank you for maintaining the excellent scoringrules package! I want to propose integrating the Penalized Brier Score (PBS) and Penalized Log Loss (PLL) methods from Ahmadian et al.'s work, which directly address limitations of traditional probabilistic scoring rules in classification tasks.
Key Advantages
-
Fixes Critical Flaws
- Resolves Brier Score/Log Loss failure to guarantee proper scoring in finite-sample regimes (Theorems/Proofs)
- Introduces penalty term: `penalty = ensuring incorrect predictions always score worse than correct ones
-
Theoretical Guarantees
- Strictly proper by construction
- Consistent model selection even with imperfect models
-
Practical Benefits
- Better guidance for early stopping and checkpointing
- Robust to class imbalance
- Computationally equivalent to traditional scores
Implementation Details
The reference Python implementation provides:
- Vectorized PBS/PLL calculations
- Unit tests verifying propriety conditions
- Benchmarks against standard metrics
Would you consider adding these to scoringrules?
Paper: "Superior scoring rules..." (Ahmadian et al., Int. J. Approx. Reason. 2024)
Thank you for considering this contribution to improve probabilistic scoring!
- 主要言語
- Python
- スター
- 108
- フォーク
- 15
- 平均マージ
- 1時間 42分
- マージ済み PR(30日)
- 9
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
frazane/scoringrules のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
frazane/scoringrules#164 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
frazane/scoringrules#163 ·
メンテナーはふだん 1 日以内に返信
-
backend:torch bug documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
frazane/scoringrules#146 ·
メンテナーはふだん 1 日以内に返信
-
Bugs in the legacy TorchBackend対応中かも @frazane が今日担当しました。 オープンbackend:torch bug
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
frazane/scoringrules#147 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
frazane/scoringrules#145 ·
メンテナーはふだん 1 日以内に返信
frazane/scoringrules の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
-
needs-triage tooling
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
neilsh/stunt-reel#317 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
TandoorRecipes/recipes#4926 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
PyTomography/PyTomography#431 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
igormcsouza/tether#278 ·
メンテナーはふだん 1 日以内に返信