Description Usage Arguments Author(s) References Examples
prediction function for tsp.randomForest
1 2 |
object |
a tsp.randomForest object |
newdata |
new data matrix |
type |
one of response, prob. or votes, indicating the type of output: predicted values, matrix of class probabilities, or matrix of vote counts. class is allowed, but automatically converted to ”response", for backward compatibility. |
norm.votes |
Should the vote counts be normalized (i.e., expressed as fractions)? |
predict.all |
Should the predictions of all trees be kept? |
proximity |
Should proximity measures be computed? |
nodes |
Should the terminal node indicators (an n by ntree matrix) be return? If so, it is in the ”nodes" attribute of the returned object. |
cutoff |
A vector of length equal to number of classes. The 'winning' class for an observation is the one with the maximum ratio of proportion of votes to cutoff. |
... |
not used. |
Xiaolin Yang, Han Liu
randomForest package.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.