exact_coalition_table: Get table with all (exact) coalitions

exact_coalition_tableR Documentation

Get table with all (exact) coalitions

Description

Get table with all (exact) coalitions

Usage

exact_coalition_table(
  m,
  dt_valid_causal_coalitions = NULL,
  weight_zero_m = 10^6
)

Arguments

m

Positive integer. Total number of features/groups.

dt_valid_causal_coalitions

data.table. Only applicable for asymmetric Shapley values explanations, and is NULL for symmetric Shapley values. The data.table contains information about the coalitions that respects the causal ordering.

weight_zero_m

Numeric. The value to use as a replacement for infinite coalition weights when doing numerical operations.


shapr documentation built on April 4, 2025, 12:18 a.m.