observation_impute {shapr} | R Documentation |
Generate permutations of training data using test observations
Description
Generate permutations of training data using test observations
Usage
observation_impute(
W_kernel,
S,
x_train,
x_test,
w_threshold = 0.7,
n_samples = 1000
)
Arguments
W_kernel |
Numeric matrix. Contains all nonscaled weights between training and test
observations for all feature combinations. The dimension equals |
S |
Integer matrix of dimension |
x_train |
Numeric matrix |
x_test |
Numeric matrix |
w_threshold |
Numeric vector of length 1, where |
Value
data.table
Author(s)
Nikolai Sellereite
[Package shapr version 0.2.2 Index]