Learn R Programming

shapr (version 1.0.3)

compute_vS: Computes v(S) for all features subsets S.

Description

Computes v(S) for all features subsets S.

Usage

compute_vS(internal, model, predict_model, method = "future")

Value

List of v(S) for different coalitions S, optionally also with the samples used to estimate v(S)

Arguments

internal

List. Not used directly, but passed through from explain().

method

Character Indicates whether the lapply method (default) or loop method should be used. Options other than "future" is only used for testing/debugging.