View source: R/asymmetric_and_casual_Shapley.R
get_valid_causal_coalitions | R Documentation |
This function is only relevant when we are computing asymmetric Shapley values. For symmetric Shapley values (both regular and causal), all coalitions are allowed.
get_valid_causal_coalitions(
causal_ordering,
sort_features_in_coalitions = TRUE
)
causal_ordering |
List.
Not applicable for (regular) non-causal or asymmetric explanations.
|
sort_features_in_coalitions |
Boolean. If |
List of vectors containing all coalitions that respects the causal ordering.
Lars Henry Berge Olsen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.