true_positive_rate: Return the ratio of true positives to positive examples in...

Description Usage Arguments

View source: R/classification_metric.R

Description

Return the ratio of true positives to positive examples in the dataset optionally conditioned on protected attributes

Usage

1
true_positive_rate(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


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