predict-DecisionTreeClassifier-method.RdFunction to predict inputs in Decision Tree
# S4 method for DecisionTreeClassifier predict(object, inputs, type = "class")
| 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" |