Using the predict_proba() function of RandomForestClassifier in the safe and right way
Using the predict_proba() function of RandomForestClassifier in the safe and right way Question: I’m using Scikit-learn. Sometimes I need to have the probabilities of labels/classes instead of the labels/classes themselves. Instead of having Spam/Not Spam as labels of emails, I wish to have only for example: 0.78 probability a given email is Spam. For such …