performance_measures: Compute various performance measures on the dataset,...

Description Usage Arguments Value

View source: R/classification_metric.R

Description

Compute various performance measures on the dataset, optionally conditioned on protected attributes

Usage

1
performance_measures(class_metric, privileged = NULL)

Arguments

class_metric

metric class instance

privileged

(bool, optional) Boolean prescribing whether to condition this metric on the 'privileged_groups', if 'TRUE', or the 'unprivileged_groups', if 'FALSE'. Defaults to 'NULL' meaning this metric is computed over the entire dataset

Value

(list) True positive rate, true negative rate, false positive rate, false negative rate, positive predictive value, negative predictive value, false discover rate, false omission rate, and accuracy (optionally conditioned)


SSaishruthi/raif-test documentation built on Oct. 30, 2019, 11:12 p.m.