Learn R Programming

shapr (version 1.0.4)

get_mu_vec: get_mu_vec

Description

get_mu_vec

Usage

get_mu_vec(x_train)

Arguments

x_train

Matrix or data.frame/data.table. Contains the data used to estimate the (conditional) distributions for the features needed to properly estimate the conditional expectations in the Shapley formula.