get_shapley_values: Get the shapley-values of a portfolio of algorithms

get_shapley_valuesR Documentation

Get the shapley-values of a portfolio of algorithms

Description

Based on the contribution to the ECDF-curve of the VBS of the portfolio

Usage

get_shapley_values(
  dsList,
  targets,
  scale.log = T,
  group_size = 5,
  max_perm_size = 10,
  normalize = T
)

Arguments

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]

Examples


dsl_sub <- subset(dsl, funcId == 1)
get_shapley_values(dsl_sub, get_ECDF_targets(dsl_sub), group_size = 2)

IOHprofiler/IOHanalyzer documentation built on Feb. 1, 2024, 11:35 a.m.