BSstack_predict: Predict using a set of Stacked Random Forest models.

Description Usage Arguments Details Value

Description

Gives predictions for a linear bootstrapped stacked Random Forest predictors. Gives the predictions of each individual model as well as the linearlly combined predictions.

Usage

1
BSstack_predict(BSmodel, Xi)

Arguments

BSmodel

List containing the individual Random Forest models, their weights, and feature names. Generated using BSstack function.

Xi

NxM datatable containing input features to be predicted. Must contain all features used in the individual RF models.

Details

Required Packages: randomForest

Value

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.


KLMatlock/Sstack documentation built on May 30, 2019, 10:46 p.m.