vaeac_get_x_explain_extended: Function to extend the explicands and apply all relevant...

View source: R/approach_vaeac.R

vaeac_get_x_explain_extendedR Documentation

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)

Arguments

x_explain

A 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 indices of combinations to apply to the present method. NULL means all combinations. Only used internally.

Value

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

Author(s)

Lars Henry Berge Olsen


NorskRegnesentral/shapr documentation built on April 19, 2024, 1:19 p.m.