Skip to content

[python-package] verbosity doesn't work when using customized objective #6643

@richardxing

Description

@richardxing

Description

setting verbosity = 1 doesn't suppress this warning.
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf

If I switch to 'regression' as objective, this issue doesn't exist. So it means that there is some bug with the verbosity behavior.

Reproducible example

Environment info

LightGBM version or commit hash: 4.4.0

Command(s) you used to install LightGBM

pip install lightgbm=4.4

Additional Comments

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions