much better input validation, test that warning is raised on (n_samples, 1) y
Merge pull request #2293 from amueller/warning_input_shapes

[MRG] Fix tests on master, better input validation.