Computes v(S) for all features subsets S.

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.