get_max_n_coalitions_causal {shapr} | R Documentation |
Get the number of coalitions that respects the causal ordering
Description
Get the number of coalitions that respects the causal ordering
Usage
get_max_n_coalitions_causal(causal_ordering)
Arguments
causal_ordering |
List.
Not applicable for (regular) non-causal or asymmetric explanations.
|
Details
The function computes the number of coalitions that respects the causal ordering by computing the number
of coalitions in each partial causal component and then summing these. We compute
the number of coalitions in the i
th a partial causal component by 2^n - 1
,
where n
is the number of features in the the i
th partial causal component
and we subtract one as we do not want to include the situation where no features in
the i
th partial causal component are present. In the end, we add 1 for the
empty coalition.
Value
Integer. The (maximum) number of coalitions that respects the causal ordering.
Author(s)
Lars Henry Berge Olsen