predict-DecisionTreeClassifier-method: Function to predict inputs in Decision Tree

Description Usage Arguments

Description

Function to predict inputs in Decision Tree

Usage

1
2
## S4 method for signature 'DecisionTreeClassifier'
predict(object, inputs, type = "class")

Arguments

object

The Decision Tree object

inputs

data to be predicted

type

Is param to define the type of predict. It can be "class", to get class labels Or "prob" to get probabilites for class in each input. Default is "class"


SSLR documentation built on July 22, 2021, 9:08 a.m.