civic_equalized_odds_curve: Compute equalized odds curves across thresholds (binary only)

View source: R/civic_fairness.R

civic_equalized_odds_curveR Documentation

Compute equalized odds curves across thresholds (binary only)

Description

Compute equalized odds curves across thresholds (binary only)

Usage

civic_equalized_odds_curve(
  object,
  data,
  outcome,
  protected,
  positive = NULL,
  thresholds = seq(0.05, 0.95, 0.05)
)

Arguments

object

A 'civic_model' (binary classification).

data

A data frame.

outcome

Character outcome column name.

protected

Character protected attribute column name.

positive

Positive class level.

thresholds

Numeric vector of thresholds.

Value

A tibble with columns: 'threshold', 'group', 'tpr', 'fpr', 'tnr'.


civic.icarm documentation built on June 18, 2026, 1:06 a.m.