Function to predict inputs in Decision Tree
# S4 method for RandomForestSemisupervised
predict(
object,
inputs,
type = "class",
confident = "max_prob",
allowParallel = TRUE
)
The Decision Tree object
data to be predicted
class raw
Is param to define the type of predict. It can be "max_prob", to get class with sum of probability is the maximum Or "vote" to get the most frequented class in all trees. Default is "max_prob"
Execute Random Forest in parallel if doParallel is loaded.