scikit-learn/scikit-learn — pull request #2885 by kaushik94 (2014-02-23 20:15:33+00:00)
Title: Added sparse parameter to OneHotEncoder 

Added a few lines of code in _transform method to enable OneHotEncoder to return dense matrices.
someone please review the pull request