predict.RandomForestSemisupervised_fitted.RdPredicts the label of instances according to the RandomForestSemisupervised_fitted model.
# S3 method for RandomForestSemisupervised_fitted predict(object, x, type = "class", confident = "max_prob", ...)
| object | RandomForestSemisupervised_fitted. |
|---|---|
| x | A object that can be coerced as matrix.
Depending on how was the model built, |
| type | of predict in principal model |
| confident | 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.