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

MNT Don't return anything from _compute_loss_grad #17604

Merged
merged 1 commit into from Jun 16, 2020

Conversation

alexhenrie
Copy link
Contributor

_compute_loss_grad modifies coef_grads and intercept_grads in place, but returning the variables that were passed in gives the false impression that it makes copies.

Copy link
Member

@thomasjpfan thomasjpfan 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 @alexhenrie ! LGTM

@TomDLT TomDLT merged commit e73e79e into scikit-learn:master Jun 16, 2020
4 of 5 checks passed
@alexhenrie
Copy link
Contributor Author

Thank you!

@alexhenrie alexhenrie deleted the loss branch June 16, 2020 04:54
rubywerman pushed a commit to MLH-Fellowship/scikit-learn that referenced this pull request Jun 24, 2020
viclafargue pushed a commit to viclafargue/scikit-learn that referenced this pull request Jun 26, 2020
jayzed82 pushed a commit to jayzed82/scikit-learn that referenced this pull request Oct 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants