Gives predictions for a linear bootstrapped stacked Random Forest predictors. Gives the predictions of each individual model as well as the linearlly combined predictions.
BSstack_predict(BSmodel, Xi)
List containing the individual Random Forest models, their weights, and feature names. Generated using BSstack function.
NxM datatable containing input features to be predicted. Must contain all features used in the individual RF models.
NxL+1 matrix where L is the number of individual RF models. Predictions for the ith RF model is found in the ith column of this matrix while predictions for the stacked model is in the final column.
Required Packages: randomForest