View source: R/classification_metric.R
Return the generalized number of true negatives, the weighted sum of predicted scores where false labels are 'unfavorable', optionally conditioned on protected attributes
1 | num_generalized_true_negatives(class_metric, privileged = NULL)
|
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.