I trained a simple randomforest classifier, then when I test the prediction with the same test input:
rf_clf.predict([[50,0,500,0,20,0,250000,1.5,110,0,0,2]])
rf_clf.predict_proba([[50,0,500,0,20,0,250000,1.5,110,0,0,2]])
The first line returns array([1.]), whereas the second line returns array([[0.14, 0.86]]) where the prediction is the first float 0.14 right?
How come those two don't match? I'm a bit confused. Thanks.