single_tree_prediction: Prediction of Testing Samples for single tree

Description Usage Arguments Details Value

View source: R/single_tree_prediction.R


Predicts the output responses of testing samples based on the input regression tree


single_tree_prediction(Single_Model, X_test, Variable_number)



Random Forest or Multivariate Random Forest Model of a particular tree


Testing samples of size Q x N, Q is the number of testing samples and N is the number of features (same order and size used as training)


Number of Output Features


A regression tree model contains splitting criteria for all the splits in the tree and output responses of training samples in the leaf nodes. A testing sample using these criteria will reach a leaf node and the average of the Output response vectors in the leaf node is considered as the prediction of the testing sample.


Prediction result of the Testing samples for a particular tree

MultivariateRandomForest documentation built on May 20, 2017, 1:51 a.m.
Search within the MultivariateRandomForest package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.