Skip to content

Unexpected gain on check_params #1

@jjbrophy47

Description

@jjbrophy47

Hello, I like this package a lot and i've been trying to use it with my own models lately, but I have been encountering this assertion: assert abs(expect_gain - parent['gain']) < 1.e-2 a number of times.

I have been training an xgboost model with 1000 trees, and this assertion gets thrown on about a dozen of those trees on average. I was just wondering if it's something I am doing, or if it's a problem with the model that XGBoost dumps out in text form not always being correct.

Thanks for any input!

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