Skip to content

MNT Removes _linear_loss attribute in GLMs #23126

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

Merged
merged 2 commits into from
Apr 14, 2022

Conversation

thomasjpfan
Copy link
Member

Reference Issues/PRs

Related to #23090

What does this implement/fix? Explain your changes.

Coming from #23090 (comment), I do not think we need to store _linear_loss at all.

CC @lorentzenchr @ogrisel

Copy link
Member

@lorentzenchr lorentzenchr left a comment

Choose a reason for hiding this comment

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

I like it.

Copy link
Member

@ogrisel ogrisel left a comment

Choose a reason for hiding this comment

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

I don't think we need the leading _ in the local variable name but LGTM!

@lorentzenchr lorentzenchr merged commit b4053e2 into scikit-learn:main Apr 14, 2022
jjerphan pushed a commit to jjerphan/scikit-learn that referenced this pull request Apr 29, 2022
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.

3 participants