Fair Gaussian kernel score is finite on the numba path with an infinite member

Aperta
#173 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
68/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
backend, testing

Direzione di ricerca

Start by tracing the fair estimator in gksuv_ensemble and gksmv_ensemble through their array and numba paths; the report says both differ when an ensemble member is infinite, with and without ens_w. Add or locate tests that compare both backends for this input and check that the fair estimator returns NaN consistently, then run the focused Gaussian kernel score tests.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug

With an infinite ensemble member, gksuv_ensemble and gksmv_ensemble with estimator="fair" return a finite score on the numba path and NaN on the array path, with and without ens_w. The other estimators give NaN on both paths. Found while checking the Phase 4 kernel rewrites; it is already the case on main.

import numpy as np
import scoringrules as sr

obs = np.zeros(2)
fct = np.array([[0.0, 1.0, np.inf], [0.5, -1.0, 2.0]])
sr.gksuv_ensemble(obs, fct, estimator="fair")                   # array path: nan in the first row
sr.gksuv_ensemble(obs, fct, estimator="fair", backend="numba")  # finite
Lingua principale
Python
Stelle
108
Fork
15
Merge medio
2h
PR unite (30g)
19

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di frazane/scoringrules

Tutte le issue di frazane/scoringrules

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.