Skip to content

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

@bartpleiter

Description

@bartpleiter

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions