calculate: Calculate metric

Description Usage Arguments Value Examples

Description

Calculate metric

Usage

1
2
3
4
5
6
7
8
## 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)

Arguments

obj

a metric object

Y

the true values/group labels

Yhat

the predicted values/group labels

Value

a modified metric object

Examples

1
2
MET = metric()
calculate(MET)

structToolbox documentation built on Nov. 8, 2020, 6:54 p.m.