Open
Description
Hi,
I'm having an error while using a LabelEncoder + Imputer + LabelBinarizer in a mapper, as a LabelEncoder output is a vector of (n_samples,) so Imputer, that calls sklearn function check_array, that calls numpy funciont atleast_2d, transforms it to (1,n_samples), so LabelBinarizer crashes:
ValueError: Multioutput target data is not supported with label binarization
How can I fix this issue?
Many thanks!