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

View source: R/compute_vS.R

compute_vSR Documentation

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")

Arguments

internal

List. Holds all parameters, data, functions and computed objects used within explain() The list contains one or more of the elements parameters, data, objects, output.

model

Objects. The model object that ought to be explained. See the documentation of explain() for details.

predict_model

Function. The prediction function used when model is not natively supported. See the documentation of explain() for details.

method

Character Indicates whether the lappy method (default) or loop method should be used.


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