binary_confusion_matrix: Compute the number of true/false positives/negatives,...

Description Usage Arguments Value

View source: R/classification_metric.R

Description

Compute the number of true/false positives/negatives, optionally conditioned on protected attributes

Usage

1
2
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

input option

Value

(list) Number of true positives, false positives, true negatives, false negatives (optionally conditioned)


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