get_shapley_values | R Documentation |
Based on the contribution to the ECDF-curve of the VBS of the portfolio
get_shapley_values(
dsList,
targets,
scale.log = T,
group_size = 5,
max_perm_size = 10,
normalize = T
)
dsList |
The DataSetList object |
targets |
A list or data.table containing the targets per function / dimension. If this is a data.table, it needs columns 'target', 'DIM' and 'funcId' |
scale.log |
Whether to use logarithmic scaling for the runtimes at which the ecdf will be sampled or not |
group_size |
How many permutation groups will be considered |
max_perm_size |
The maximum limit for permutations to be considered |
normalize |
Whether or not to ensure the resulting values will be in [0,1] |
dsl_sub <- subset(dsl, funcId == 1)
get_shapley_values(dsl_sub, get_ECDF_targets(dsl_sub), group_size = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.