to me you don't need this param. If y.ndim == 2 then you're in a multi_output case