Skip to content

Proposal to Add Penalized Brier Score (PBS) and Penalized Log Loss (PLL) Methods #99

Description

@Ostovane

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

  1. 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
  2. Theoretical Guarantees

    • Strictly proper by construction
    • Consistent model selection even with imperfect models
  3. 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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions