vaeac_get_x_explain_extended function

Function to extend the explicands and apply all relevant masks/coalitions

Function to extend the explicands and apply all relevant masks/coalitions

vaeac_get_x_explain_extended(x_explain, S, index_features)

Arguments

  • 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.

Returns

The extended version of x_explain where the masks from S with indices index_features have been applied.

Author(s)

Lars Henry Berge Olsen