classification_metric: Class for computing metrics based on two BinaryLabelDatasets....

Description Usage Arguments

View source: R/classification_metric.R

Description

Class for computing metrics based on two BinaryLabelDatasets. The first dataset is the original one and the second is the output of the classification transformer (or similar)

Usage

1
2
classification_metric(dataset, classified_dataset,
  unprivileged_groups = NULL, privileged_groups = NULL)

Arguments

dataset

(BinaryLabelDataset) Dataset containing ground-truth labels

classified_dataset

(BinaryLabelDataset) Dataset containing predictions

unprivileged_groups

(list(list(list))): Unprivileged groups in the same format as 'privileged_groups'

privileged_groups

(list(list(list))) Privileged groups. Format is a list of 'lists' where the keys are 'protected_attribute_names' and the values are values in 'protected_attributes'. Each 'list' element describes a single group. See examples for more details.


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