8000 DOC Add examples to linear_model.TweedieRegressor by nuka137 · Pull Request #17516 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

DOC Add examples to linear_model.TweedieRegressor #17516

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
Jun 7, 2020
Merged

DOC Add examples to linear_model.TweedieRegressor #17516

merged 2 commits into from
Jun 7, 2020

Conversation

nuka137
Copy link
Contributor
@nuka137 nuka137 commented Jun 7, 2020

Reference Issues/PRs

Relates to #3846

What does this implement/fix? Explain your changes.

Add example to linear_model.TweedieRegressor.

Examples
----------
>>> from sklearn import linear_model
>>> clf = linear_model.TweedieRegressor(alpha=0)
Copy link
Member

Choose a reason for hiding this comment

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

Let's keep the default alpha.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks. Fixed it.

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 @nuka137 !

LGTM

@thomasjpfan thomasjpfan merged commit b898f25 into scikit-learn:master Jun 7, 2020
viclafargue pushed a commit to viclafargue/scikit-learn that referenced this pull request Jun 26, 2020
* Add examples to linear_model.TweedieRegressor

* Address review
jayzed82 pushed a commit to jayzed82/scikit-learn that referenced this pull request Oct 22, 2020
* Add examples to linear_model.TweedieRegressor

* Address review
6428 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.

2 participants
0