<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Hi,</div><div id="AppleMailSignature">Have you tried to set numpy.set_printoptions(precision=8) ? Maybe that helps already.</div><div id="AppleMailSignature">Best,</div><div id="AppleMailSignature">Sebastian </div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature"><br><br>Sent from my iPhone</div><div><br>On Apr 13, 2017, at 1:54 PM, Suranga Kasthurirathne <<a href="mailto:surangakas@gmail.com">surangakas@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><br clear="all"><div>Hi all,</div><div><br></div><div>I'm using scikit-learn to build a number of random forrest models using the default number of trees.</div><div><br></div><div>However, when I print out the prediction probability (<a href="http://scikit-learn.org/stable/modules/generated/sklearn.ensemble.RandomForestClassifier.html#sklearn.ensemble.RandomForestClassifier.predict_proba">http://scikit-learn.org/stable/modules/generated/sklearn.ensemble.RandomForestClassifier.html#sklearn.ensemble.RandomForestClassifier.predict_proba</a>) for each outcome, its presented to me as a single decimal point (0.1, 0.2, 0.5 etc.). Only perhaps 5% of the data has more than a single decimal point.</div><div><br></div><div>Is this normal behavior? is there some way I can increase the number of decimal points in the prediction probability outcomes? why arent I seeing more probabilities such as 0.231, 0.55551, 0.462156 etc.?</div><div><br></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Thanks and best Regards,<div>Suranga</div></div></div>
</div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>scikit-learn mailing list</span><br><span><a href="mailto:scikit-learn@python.org">scikit-learn@python.org</a></span><br><span><a href="https://mail.python.org/mailman/listinfo/scikit-learn">https://mail.python.org/mailman/listinfo/scikit-learn</a></span><br></div></blockquote></body></html>