Description Usage Arguments Author(s) Examples
prediction function for tsp.tree
1 2 |
object |
a tsp.tree object |
newdata |
new data matrix |
type |
character string denoting whether the predictions are returned as a vector (default) or as a tsp.tree object. |
split |
governs the handling of missing values. If false, cases with missing values are dropped down the tree until a leaf is reached or a node for which the attribute is missing, and that node is used for prediction. If split = TRUE cases with missing attributes are split into fractional cases and dropped down each side of the split. The predicted values are averaged over the fractions to give the prediction. |
nwts |
weights for the newdata cases, used when predicting a tsp.tree. |
eps |
a lower bound for the probabilities, used if events of predicted probability zero occur in newdata when predicting a tree. |
... |
other arguments. |
Xiaolin Yang, Han Liu
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.