I think you need to use the fit or fit_transform function before you predict the classes and use the Binarizer. Have a look at scikit's official documentation for the same.
https://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.LabelBinarizer.html