View source: R/07_S7_Supervised.R
explain | R Documentation |
Explain Supervised Learning Model
explain(model, x, dat_training = NULL, method = NULL)
model |
Supervised object. |
x |
data.frame or similar: Data to explain. |
dat_training |
data.frame or similar: Training data. |
method |
Character: Method to use. |
The explain API is under development. Different models require different inputs. Currently, different explain methods output different objects. This will likely be replaced in the future using a custom S7 class.
Object depending on model: list, shapr, or other.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.