R/roc_predict_performance_by_gr.R
roc_predict_performance_by_gr.Rd
This function works as combination of roc_predict
and
calculate_performance
, just object
may have more than
1 row.
roc_predict_performance_by_gr(object, x_new, gr_new)
object | Either an object of class |
---|---|
x_new | A numeric vector to predict on. |
gr_new | A factor vector associated with `x_new` |
A dataframe with performance calculated on test data