Repository navigation
Conversation
Contributor
Author
|
Estimators like |
jnothman
reviewed
Feb 6, 2017
jnothman
left a comment
Member
There was a problem hiding this comment.
This still requires that X be converted to an ndarray (not pandas), that it is finite, and selects sparse types whose preference should be determined by the base estimator, etc. I don't think X needs any validation. Does y? Read the code, work it out. This will depend on the ensemble technique.
Member
|
This does beg the question: should we be trying to implement this change,
or close as a WONTFIX. No strong opinion.
|
Member
|
i think our ensemble code, as with other metaestimators, should be robust
to using external estimators as much as possible. But that means creating
mock estimators in tests which check that X is passed unaltered.
…On 8 Feb 2017 5:53 am, "Gael Varoquaux" ***@***.***> wrote:
This does beg the question: should we be trying to implement this change,
or close as a WONTFIX. No strong opinion.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#8304 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAEz6wCqCCe3EHbGopnqg2Kdkateeut-ks5raL2SgaJpZM4L4l81>
.
|
Member
|
fixed in #13174. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reference Issue
Fixes #7768
What does this implement/fix? Explain your changes.
This removes the restriction on X to be 2D and transfers the duty of validation of X to the base estimator.
Any other comments?
This has been implemented for only
AdaboostClassifiertill now. If this seems fine, will extend it to other ensembles. Also, docstring hasn't been updated yet.