Skip to content

Error message #15

@benmccann

Description

@benmccann

I found the error message for the original xgbfir to be a bit more informative when using an invalid model file. Perhaps we could change the error message to something like the below?

Error: Invalid model file. Does not match regex (\d+):\[(.*?)(?:<(.+)|)\]\syes=(.*),no=(.*?),(?:missing=.*,)?gain=(.*),cover=(.*)
Did you dump the model w/ with_stats=True?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions