Please add assertions on the shape of the output of the `predict_proba` function (should be `(n_samples, n_classes)`) and check that the `predict` predictions are consistent with the argmax of the `predict_proba` predictions.