I need to get more digits in predicting a test sample with a random forests object. Format or options(digits=) do nothing. Any ideas? Thank you, Nagu
More digits in prediction using random forest object
2 messages · Nagu, Liaw, Andy
How many trees are you growing in the forest? If you grow a 100-tree
forest, the possible predictions (for a two-class data) would simply be
{0, 0.01, 0.02, ..., 0.99, 1}
Then, of course, if you only grow three trees, the predictions can only
be
{0, 1/3, 2/3, 1}
You can ask for as many digits as R can give you, but it won't do you
any good.
Andy
From: Nagu
I need to get more digits in predicting a test sample with a random forests object. Format or options(digits=) do nothing. Any ideas? Thank you, Nagu
______________________________________________ R-help at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
------------------------------------------------------------------------------
Notice: This e-mail message, together with any attachme...{{dropped:15}}