-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
init_score not working in LGBMClassifier #4534
Comments
@8549 Thanks for rising this issue! First of all, please let me note that you are using very old version of LightGBM (
As for the error you've encountered, please check
You should pass lists for
|
Also, please read the following comment and next time include a code in your issue on GitHub.
Logs:
|
Thank you very much for the detailed help. I was able to run my code. |
This issue 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. |
Description
Setting
init_score
param in LGBMClassifier doesn't work because the internal call tolightgbm.basic.list_to_1d_numpy()
fails. But if called manually the function works and returns correctly (see example). Or is there something more to it and i didn't understand how this param works?Reproducible example
https://colab.research.google.com/drive/1LooDVMlITs-mlSi8hjRyjwOZuMCl73ZR?usp=sharing
Environment info
LightGBM version or commit hash:
2.2.3
Command(s) you used to install LightGBM
The text was updated successfully, but these errors were encountered: