feature_group: Analogue to feature_exact, but for groups instead.

feature_groupR Documentation

Analogue to feature_exact, but for groups instead.

Description

Analogue to feature_exact, but for groups instead.

Usage

feature_group(group_num, weight_zero_m = 10^6)

Arguments

group_num

List. Contains vector of integers indicating the feature numbers for the different groups.

weight_zero_m

Positive integer. Represents the Shapley weight for two special cases, i.e. the case where you have either 0 or m features/feature groups.

Value

data.table with all feature group combinations, shapley weights etc.


NorskRegnesentral/shapr documentation built on April 19, 2024, 1:19 p.m.