predict.RandomForestSemisupervised_fitted {SSLR} | R Documentation |
Predictions of the SSLRDecisionTree_fitted method
Description
Predicts the label of instances according to the RandomForestSemisupervised_fitted model.
Usage
## S3 method for class 'RandomForestSemisupervised_fitted'
predict(object, x, type = "class", confident = "max_prob", ...)
Arguments
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. |
Value
Vector with the labels assigned.
[Package SSLR version 0.9.3.3 Index]