Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Use new condition system for errors and warnings #1378

@sebffischer

Description

@sebffischer

We have many calls to stopf() and warningf(). With the new condition system, we can make these errors more precise by giving them classes. This should not only be done in mlr3, but also other packages. E.g. learners doing checks in $.train() should throw a error_config() so this is not caught by the fallback learner.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions