predict.setred.RdPredicts the label of instances according to the setred model.
# S3 method for setred predict(object, x, col_name = ".pred_class", ...)
| object | SETRED model built with the |
|---|---|
| x | A object that can be coerced as matrix.
Depending on how was the model built, |
| col_name | is the colname from returned tibble in class type. The same from parsnip and tidymodels Default is .pred_clas |
| ... | This parameter is included for compatibility reasons. |
Vector with the labels assigned.
For additional help see setred examples.