View source: R/asymmetric_and_causal_Shapley.R
| convert_feature_name_to_idx | R Documentation |
Functions that takes a causal_ordering specified using strings and convert these strings to feature indices.
convert_feature_name_to_idx(causal_ordering, labels, feat_group_txt)
causal_ordering |
List.
Not applicable for (regular) non-causal or asymmetric explanations.
|
labels |
Vector of strings containing (the order of) the feature names. |
feat_group_txt |
String that is either "feature" or "group" based on
if |
The causal_ordering list, but with feature indices (w.r.t. labels) instead of feature names.
Lars Henry Berge Olsen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.