Description
Inverse transform does not show an appropriate error message when more than one new values are present in the data.
Steps/Code to Reproduce
from sklearn.preprocessing import LabelEncoder
le=LabelEncoder().fit(['a', 'b'])
le.inverse_transform([0, 1, 2, 3])
Expected Results
ValueError: y contains new labels: [2, 3]
Actual Results:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()