Skip to content

[MRG] New Feature: VotingRegressor#12513

Merged
jnothman merged 44 commits intoscikit-learn:masterfrom
stsouko:master
Apr 10, 2019
Merged

[MRG] New Feature: VotingRegressor#12513
jnothman merged 44 commits intoscikit-learn:masterfrom
stsouko:master

Conversation

@stsouko
Copy link
Copy Markdown

@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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Author

stsouko commented Nov 9, 2018

I removed duplicate tests which checks common code.

@stsouko
Copy link
Copy Markdown
Author

stsouko commented Nov 12, 2018

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

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
Copy Markdown
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
Copy Markdown
Member

Thanks @stsouko!!

@NicolasHug
Copy link
Copy Markdown
Member

Thanks @stsouko!

@stsouko
Copy link
Copy Markdown
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
rghosh08 pushed a commit to rghosh08/gemini-review-eval. that referenced this pull request Mar 19, 2026
rghosh08 pushed a commit to rghosh08/gemini-review-eval. that referenced this pull request Mar 19, 2026
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