-
-
Notifications
You must be signed in to change notification settings - Fork 25.1k
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
[MRG] Remove special-case in Pipeline.inverse_transform for 1D arrays. #5065
Conversation
Thanks. LGTM. |
Hmm... This case is pretty ancient, and it's hard to tell what motivated @agramfort to include it in https://github.com/joewreschnig/scikit-learn/commit/06ac5f98, but changing it may break people's code. Do we think we should really fix it so quickly? |
Well, pipeline doesn't have a |
can you rebase so that the tests are not failing any more? |
@ogrisel @GaelVaroquaux any opinions on this? |
Sure I'm fine with that. On 9 September 2015 at 01:39, Andreas Mueller notifications@github.com
|
@joewreschnig are you still interested? |
+1 for removing the special case, but with a deprecation warning.
|
Hm or a FutureWarning? Behavior will change in the future.... |
Can you please rebase so that the tests pass? |
#5029) This special-case resulted in pipelines that do not produce the same results as calling their component transforms manually, and prevented pipelines from containing transforms that processed non-array inputs or outputs.
I was under the impression that rebasing a public history is generally a faux pas, especially when it still applies cleanly to HEAD, but OK. |
@joewreschnig opinions diverge. We favor readability and maintainability of the history of master. That means we aggressively squash and rebase. |
It would be great if you could change the pull request as following (as discussed above): |
Closing as this is replaced by #5293 |
This special-case resulted in pipelines that do not produce the same
results as calling their component transforms manually, and
prevented pipelines from containing transforms that processed
non-array inputs or outputs. (closes #5029)