I want to plot the ROC curve for the RidgeClassifier. But the code comes with an error: I googled for solutions and it comes up to change predict_proba to predict, but it does not work!
predY = classifier.predict_proba(X_test)
Error:
AttributeError: 'RidgeClassifier' object has no attribute 'predict_proba'
This is what I get with predict:
IndexError: too many indices for array