update_label | R Documentation |
Function allows users to update label of any explainer in a unified way. It doesn't require knowledge about structre of an explainer.
update_label(explainer, label, verbose = TRUE)
explainer |
- explainer object that is supposed to be updated. |
label |
- new label, is going to be passed to an explainer |
verbose |
- logical, indicates if information about update should be printed |
updated explainer object
aps_lm_model4 <- lm(m2.price ~., data = apartments) aps_lm_explainer4 <- explain(aps_lm_model4, data = apartments, label = "model_4v") explainer <- update_label(aps_lm_explainer4, label = "lm")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.