Skip to contents

Calculate the all metrics at once

Usage

get_all_metrics(data, outcome, group, probs, cutoff = 0.5, digits = 2)

Arguments

data

Data frame containing the outcome, predicted outcome, and sensitive attribute

outcome

the name of the outcome variable, it must be binary

group

the name of the sensitive attribute

probs

the name of the predicted outcome variable

cutoff

the threshold for the predicted outcome, default is 0.5

digits

the number of digits to round the result to, default is 2

Value

a Data frame of all metrics