[OpenSTEF 4.0] Move filtering for nans in target label outside of model code

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

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python

Direzione di ricerca

Start by finding the NaN filtering in the fit methods of the XGBoost and GBLinear forecasting models, which the issue says were added in PR #697, and the pipeline code that calls those models. Pick a single central place in the pipeline to drop NaN target rows, then remove the per-model filters. Done when both models train on data with NaN labels, such as DST-change timestamps, without crashing, and the existing tests still pass.

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

Descrizione

fix OpenSTEF 4.0

Is your feature request related to a problem? Please describe.
After PR #697 within the XGBoost and GBLinear forecasting models there is a filtering for nans in the fit method. If this is not done, the fit will crash for example on moments where DST changes and NANs are created, or other reasons why NANs in the label end up in the pipeline.

Describe the solution you'd like
This filtering logic should be moved from inside each model to a central place within the pipeline.

Lingua principale
Python
Stelle
169
Fork
59
Merge medio
4g 15h
PR unite (30g)
8

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 OpenSTEF/openstef

Tutte le issue di OpenSTEF/openstef

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.