explain()
R/setup_computation.R
setup_computation.Rd
Sets up everything for the Shapley values computation in explain()
setup_computation(internal, model, predict_model)
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
.
Objects.
The model object that ought to be explained.
See the documentation of explain()
for details.
Function.
The prediction function used when model
is not natively supported.
See the documentation of explain()
for details.
List internal
It holds all parameters, data, and computed objects used within explain()
.
The list contains one or more of the elements parameters
, data
, objects
, output
.