Function to extend the explicands and apply all relevant masks/coalitions
vaeac_get_x_explain_extended(x_explain, S, index_features)
x_explain
: Matrix or data.frame/data.table. Contains the the features, whose predictions ought to be explained.S
: The internal$objects$S
matrix containing the possible coalitions.index_features
: Positive integer vector. Specifies the id_coalition to apply to the present method. NULL
means all coalitions. Only used internally.The extended version of x_explain
where the masks from S
with indices index_features
have been applied.
Lars Henry Berge Olsen
Useful links