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

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.

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


shapr documentation built on April 4, 2025, 12:18 a.m.