8000 DOC - Ensure HuberRegressor passes numpydoc validation by EricEllwanger · Pull Request #21062 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

DOC - Ensure HuberRegressor passes numpydoc validation #21062

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 11 commits into from
Sep 17, 2021

Conversation

EricEllwanger
Copy link
Contributor

Reference Issues/PRs

References #20308

What does this implement/fix? Explain your changes.

Changes to file sklearn/linear_model/_huber.py:
Change the ordering of sections in HuberRegressor
Added 'See Also' Section to HuberRegressor
Added description to 'Returns' section

Removed HuberRegressor from maint_tools/test_docstrings.py DOC_IGNORE_LIST

Any other comments?

See Also
--------
RANSACRegressor : RANSAC (RANdom SAmple Consensus) algorithm.
TheilSenRegressor : Theil-Sen Estimator robust multivariate regression model.
Copy link
Member

Choose a reason for hiding this comment

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

Could you add the SGDRegressor as well. This estimator can get several loss functions as the Huber loss as well.

Copy link
Member

Choose a reason for hiding this comment

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

This comment has not been addressed yet.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It should be added now

Copy link
Member
@glemaitre glemaitre left a comment

Choose a reason for hiding this comment

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

Otherwise LGTM

@glemaitre glemaitre merged commit 7766920 into scikit-learn:main Sep 17, 2021
@glemaitre
Copy link
Member

Thanks @EricEllwanger

@EricEllwanger EricEllwanger deleted the doc-huber branch September 17, 2021 09:57
adrinjalali pushed a commit to adrinjalali/scikit-learn that referenced this pull request Sep 20, 2021
)

Co-authored-by: frellwan <frellwan@hotmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
adrinjalali pushed a commit that referenced this pull request Sep 23, 2021
Co-authored-by: frellwan <frellwan@hotmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
samronsin pushed a commit to samronsin/scikit-learn that referenced this pull request Nov 30, 2021
)

Co-authored-by: frellwan <frellwan@hotmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
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.

4 participants
0