View source: R/documentation.R
| default_doc_internal | R Documentation |
Unexported documentation helper function.
default_doc_internal(
internal,
model,
predict_model,
x_explain,
x_train,
n_features,
W_kernel,
S,
dt_vS,
model_class,
output_size,
...
)
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 non-scaled weights between training and test
observations for all coalitions. The dimension equals |
S |
Integer matrix of dimension |
dt_vS |
Data.table of dimension |
model_class |
Character string.
The class of the model object, e.g., "lm", "glm", "xgboost", etc. obtained by |
output_size |
Scalar integer. Specifies the dimension of the output from the prediction model for every observation. |
... |
Further arguments passed to |
The internal list.
It holds all parameters, data, and computed objects used within explain().
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.