predict.dec.tree.class: Decision Tree Prediction

Description Usage Arguments Value Author(s)

Description

A method for Decision Tree prediction. Predicts by pushing samples down to a leaf node based on the split node criterion.

Usage

1
2
## S3 method for class 'dec.tree.class'
predict(object, X, ...)

Arguments

object

a fit decision tree.

X

an [n, p] predictor to predict the class of. Must be specified in an appropriate 2d array, even if you only want a single sample predicted.

Value

an [n] array of predictions.

Author(s)

Eric Bridgeford


ebridge2/badmf documentation built on June 4, 2019, 8:53 a.m.