Function to predict inputs in Decision Tree
# S4 method for DecisionTreeClassifier
predict(object, inputs, type = "class")
The Decision Tree object
data to be predicted
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"