View source: R/classification_metric.R
Return the generalized number of false positives, the weighted sum of predicted scores where true labels are 'unfavorable', optionally conditioned on protected attributes
1 | num_generalized_false_positives(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.