RunPredict: Predict class labels on a test set using a single tree.

Description Usage Arguments Value

View source: R/RunPredict.R

Description

This is the base function called by Predict.

Usage

1
RunPredict(X, tree)

Arguments

X

an n sample by d feature matrix (preferable) or data frame which was used to train the provided forest.

tree

a tree from a forest returned by RerF.

Value

predictions an n length vector of prediction based on the tree provided to this function


rerf documentation built on May 2, 2019, 8:16 a.m.