Description Usage Arguments Value
View source: R/extract_variables.R
LIVE wrapper
1 2 | live_extractor(instance, target, training_set, model,
predict_function = predict, ...)
|
instance |
data frame that contains the observation to explain |
target |
name of the response variable |
training_set |
data on which the explained 'model“ was trained |
model |
model to be explained |
predict_function |
predict function for 'model' which returns classes, defaults to 'predict' |
... |
additional parameters to 'live::sample_locally2' function, 'size' argument must be included |
list that consists of
explanation_model |
object returned by 'lime::fit_explanation2' function |
variables |
character vector of names of variables that contributed to the wrong prediction |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.