calculate,AUC-method | R Documentation |
Calculate metric
## S4 method for signature 'AUC'
calculate(obj, Y, Yhat)
## S4 method for signature 'balanced_accuracy'
calculate(obj, Y, Yhat)
## S4 method for signature 'r_squared'
calculate(obj, Y, Yhat)
obj |
a metric object |
Y |
the true values/group labels |
Yhat |
the predicted values/group labels |
a modified metric object
MET = metric()
calculate(MET)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.