Learn R Programming

shapr (version 1.0.4)

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

Description

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

Usage

vaeac_get_x_explain_extended(x_explain, S, index_features)

Value

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

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.

Author

Lars Henry Berge Olsen