Skip to content
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

[python] fixes for supporting 2d numpy arrays for predictions, grads and hess in multiclass custom objective and eval #5030

Merged
merged 2 commits into from
Feb 26, 2022

Conversation

StrikerRUS
Copy link
Collaborator

@StrikerRUS StrikerRUS commented Feb 23, 2022

I hadn't had a chance to review #4925, so I'm proposing some fixes and my suggestions in a form of a separate follow-up PR. Sorry about that.

@StrikerRUS StrikerRUS added the fix label Feb 23, 2022
@StrikerRUS StrikerRUS marked this pull request as ready for review February 23, 2022 21:25
@StrikerRUS StrikerRUS requested a review from jmoralez February 23, 2022 21:25
Copy link
Collaborator

@jmoralez jmoralez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this! I just left some suggestions on the wording for y_pred

python-package/lightgbm/sklearn.py Outdated Show resolved Hide resolved
python-package/lightgbm/sklearn.py Outdated Show resolved Hide resolved
@jmoralez jmoralez changed the title [python] fixes for supporting 2d numpy arrays for predictions, grads and hess in multiclass custom objective [python] fixes for supporting 2d numpy arrays for predictions, grads and hess in multiclass custom objective and eval Feb 23, 2022
@shiyu1994
Copy link
Collaborator

@StrikerRUS @jmoralez Thank you for the fix! I'll be more careful next time when reviewing a python PR.

@jmoralez jmoralez self-requested a review February 25, 2022 15:54
@StrikerRUS StrikerRUS merged commit 5631366 into master Feb 26, 2022
@StrikerRUS StrikerRUS deleted the fix_multiclass_custom_obj branch February 26, 2022 23:38
@jameslamb jameslamb mentioned this pull request Oct 7, 2022
40 tasks
@github-actions
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants