Predicts the label of instances according to the RandomForestSemisupervised_fitted model.
# S3 method for RandomForestSemisupervised_fitted
predict(object, x, type = "class", confident = "max_prob", ...)
RandomForestSemisupervised_fitted.
A object that can be coerced as matrix.
Depending on how was the model built, x
is interpreted as a matrix
with the distances between the unseen instances and the selected training instances,
or a matrix of instances.
of predict in principal model
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"
This parameter is included for compatibility reasons.
Vector with the labels assigned.