weight_matrix_cpp {shapr} | R Documentation |
Calculate weight matrix
Description
Calculate weight matrix
Usage
weight_matrix_cpp(features, m, n, w)
Arguments
features |
List. Each of the elements equals an integer vector representing a valid combination of features. |
m |
Integer. Number of features |
n |
Integer. Number of combinations |
w |
Numeric vector of length |
Value
Matrix of dimension n x m + 1
Author(s)
Nikolai Sellereite
[Package shapr version 0.2.2 Index]