RandomForestClassifier : binary classification scores

I am using sklearn's RandomForestClassifier to build a binary prediction model. As expected, I am getting an array of predictions, consisting of 0's and 1's. However I was wondering if it is possible for me to get a value between 0 and 1 along with the prediction array and set a threshold to tune my model. Many thanks in advance

• The attribute classes_ tells you which column is which. After you fit your model to the data, just use <RFmodel>.classes_ to see columns to which the classes correspond. Mar 23 '17 at 17:15