shapley_weights {shapr} | R Documentation |
Calculate Shapley weight
Description
Calculate Shapley weight
Usage
shapley_weights(m, N, n_features, weight_zero_m = 10^6)
Arguments
m |
Positive integer. Total number of features. |
N |
Positive integer. The number of unique combinations when sampling |
n_features |
Positive integer. Represents the number of features you want to sample from a feature
space consisting of |
weight_zero_m |
Positive integer. Represents the Shapley weight for two special
cases, i.e. the case where you have either |
Value
Numeric
Author(s)
Nikolai Sellereite
[Package shapr version 0.2.2 Index]