default_doc_internal {shapr} | R Documentation |
Unexported documentation helper function.
Description
Unexported documentation helper function.
Usage
default_doc_internal(
internal,
model,
predict_model,
x_explain,
x_train,
n_features,
W_kernel,
S,
dt_vS,
output_size,
...
)
Arguments
internal |
List.
Holds all parameters, data, functions and computed objects used within |
model |
Objects.
The model object that ought to be explained.
See the documentation of |
predict_model |
Function.
The prediction function used when |
x_explain |
Data.table with the features of the observation whose predictions ought to be explained (test data). |
x_train |
Data.table with training data. |
n_features |
Positive integer. The number of features. |
W_kernel |
Numeric matrix. Contains all nonscaled weights between training and test
observations for all coalitions. The dimension equals |
S |
Integer matrix of dimension |
dt_vS |
Data.table of dimension |
output_size |
Scalar integer. Specifies the dimension of the output from the prediction model for every observation. |
... |
Further arguments passed to |
Value
The internal
list.
It holds all parameters, data, and computed objects used within explain()
.