inTrees (version 1.2)

applyLearner: apply a simplified tree ensemble learner (STEL) to data

Description

apply STEL to data and get predictions

Usage

applyLearner(learner, X)

Arguments

learner

a matrix with rules ordered by priority

X

predictor variable matrix

Value

predictions for the data

See Also

buildLearner

Examples

Run this code
# NOT RUN {
# see function "buildLearner" for examples
# pred <- applyLearner(learner,X)
# }

Run the code above in your browser using DataLab