Skip to content

Conversation

@ankit-maverick
Copy link
Contributor

No description provided.

@ankit-maverick
Copy link
Contributor Author

Fixes #2560

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 28997f6 on ankit-maverick:issue2560 into d6e5462 on scikit-learn:master.

@ankit-maverick
Copy link
Contributor Author

@agramfort : I think this is good to go in. Can you review it?

@agramfort
Copy link
Member

can you add a test?

@ankit-maverick
Copy link
Contributor Author

@agramfort : I have added a test. Please review it.

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 6f8186f on ankit-maverick:issue2560 into d6e5462 on scikit-learn:master.

Copy link
Member

Choose a reason for hiding this comment

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

use assert_equal from nose

grep assert_equal in sklearn

otherwise looks great

@ankit-maverick
Copy link
Contributor Author

@agramfort : Done.

@glouppe
Copy link
Contributor

glouppe commented Nov 6, 2013

Thanks for taking care of this! +1 as well as soon as @agramfort comment above is fixed.

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 067ace1 on ankit-maverick:issue2560 into d6e5462 on scikit-learn:master.

@ankit-maverick
Copy link
Contributor Author

@glouppe : Seems like you missed my commit by a few seconds :-)

I have also filed numpy/numpy#4012 in numpy about the inconsistent behaviour of np.ma.median that caused the above bug.

agramfort added a commit that referenced this pull request Nov 6, 2013
Fixing issue 2560 : Imputer bug with median and dense input
@agramfort agramfort merged commit f719d09 into scikit-learn:master Nov 6, 2013
@agramfort
Copy link
Member

thanks !

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.

4 participants