generalized_binary_confusion_matrix: Compute the number of generalized true/false...

Description Usage Arguments

View source: R/classification_metric.R

Description

Compute the number of generalized true/false positives/negatives, optionally conditioned on protected attributes. Generalized counts are based on scores and not on the hard predictions

Usage

1
2
generalized_binary_confusion_matrix(class_metric, privileged = NULL,
  dnn = c("Reference", "Prediction"))

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

dnn

option


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