Skip to content

[MRG] New Feature: VotingRegressor #12513

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 44 commits into from
Apr 10, 2019
Merged

[MRG] New Feature: VotingRegressor #12513

merged 44 commits into from
Apr 10, 2019

Conversation

stsouko
Copy link

@stsouko stsouko commented Nov 3, 2018

Reference Issues/PRs

Fixes #10743

What does this implement/fix? Explain your changes.

Following @amueller suggestion about adding sklearn.ensemble.AverageRegressor, this PR implements:

  • sklearn.ensemble.AverageRegressor

  • Associated units tests

  • Docstrings

  • Examples

  • Updates the documentation

  • Updates what's new

Any other comments?

This PR is inspired from work on VotingClassifier and their associated unit-tests.

this is fork of PR #10868 which is not being finalized for a long time.

Ramil Nugmanov added 4 commits November 3, 2018 21:23
tests done.

this is fork of PR #10868 which is not being finalized for a long time.
flake fixed.
@eamanu
Copy link
Contributor

eamanu commented Nov 6, 2018

Please add the [WIP] tag.

Remember add [MRG] when you finish.

@stsouko stsouko changed the title New Feature: AverageRegressor [WIP] New Feature: AverageRegressor Nov 6, 2018
Ramil Nugmanov added 3 commits November 6, 2018 17:11
Copy link
Contributor

@eamanu eamanu left a comment

Choose a reason for hiding this comment

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

LGTM. I read the codes and IMO its ok.

@stsouko stsouko changed the title [WIP] New Feature: AverageRegressor [MRG] New Feature: AverageRegressor Nov 6, 2018
@jnothman
Copy link
Member

jnothman commented Nov 6, 2018

We have "Voting" classifier, but "Average" regressor. Should it be "AveragingRegressor" for consistency?

stsouko added 2 commits November 7, 2018 11:02
* AverageRegressor renamed to AveragingRegressor.
* user guide fixed.
* tests fixed. additional changes removed.
* docstrings fixed.
* user guide example plot fixed.
@stsouko stsouko changed the title [MRG] New Feature: AverageRegressor [MRG] New Feature: AveragingRegressor Nov 7, 2018
Copy link
Member

@jnothman jnothman left a comment

Choose a reason for hiding this comment

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

Tests need some work

stsouko added 2 commits November 9, 2018 15:11
test_notfitted extended.
duplicates removed.
DummyRegressor used.
only for unique methods of AveragingRegressor tests added.
@stsouko
Copy link
Author

stsouko commented Nov 9, 2018

I removed duplicate tests which checks common code.

@stsouko
Copy link
Author

stsouko commented Nov 12, 2018

@jnothman, tests fixed. VotingClassifier specific tests I can fix in new PR.

Copy link
Member

@NicolasHug NicolasHug left a comment

Choose a reason for hiding this comment

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

First round of comments, looks good in general

Copy link
Member

@NicolasHug NicolasHug left a comment

Choose a reason for hiding this comment

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

First round of comments, looks good in general

NicolasHug and others added 8 commits April 7, 2019 16:32
Co-Authored-By: stsouko <stsouko@live.ru>
Co-Authored-By: stsouko <stsouko@live.ru>
Co-Authored-By: stsouko <stsouko@live.ru>
Co-Authored-By: stsouko <stsouko@live.ru>
Co-Authored-By: stsouko <stsouko@live.ru>
Copy link
Member

@NicolasHug NicolasHug left a comment

Choose a reason for hiding this comment

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

Last comments, LGTM otherwise

Co-Authored-By: stsouko <stsouko@live.ru>
@jnothman jnothman merged commit d94e2a2 into scikit-learn:master Apr 10, 2019
@jnothman
Copy link
Member

Thanks @stsouko!!

@NicolasHug
Copy link
Member

Thanks @stsouko!

@stsouko
Copy link
Author

stsouko commented Apr 10, 2019

Thanks for the help in preparing PR

jeremiedbb pushed a commit to jeremiedbb/scikit-learn that referenced this pull request Apr 25, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
koenvandevelde pushed a commit to koenvandevelde/scikit-learn that referenced this pull request Jul 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AverageRegressor?
5 participants