Repository navigation
[python-package] Fix misdetected objective after multiple calls to LGBMClassifier.fit - #6002
Conversation
LGBMClassifier.fitLGBMClassifier.fit
|
Seems that we encounter segment faults and test case failures after merging this PR. Maybe we shall investigate this? |
|
Thanks @shiyu1994 . I'll look into that today. I'm confused how the tests could have passed on this PR and now be failing on The segfaults might be unrelated, but I don't understand how this could be failing on |
|
@shiyu1994 I just merged #6090 to
So I suspect these test failures were a transient issue caused by the order commits were merged or something. I'm not planning to investigate this further unless we see it again. |
|
This pull request has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this. |



fixes #5675
This PR fixes a bug in which
LGBMClassifierwill set its internal objective after the first call tofitand won't try to detect it anymore based on the suppliedyon subsequent calls tofit.