Description Usage Arguments Examples
View source: R/print_explainer.R
Prints Explainer Summary
1 2 |
x |
a model expaliner created with the 'explain' function |
... |
other parameters |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | apartments_lm <- lm(m2.price ~ ., data = apartments)
apartments_lm_ex <- explain(apartments_lm, data = apartments, label = "apartments_lm")
apartments_lm_ex
## Not run:
library("breakDown2")
wine_lm_model4 <- lm(quality ~ pH + residual.sugar + sulphates + alcohol, data = wine)
wine_lm_explainer4 <- explain(wine_lm_model4, data = wine, label = "model_4v")
wine_lm_explainer4
library("randomForest")
wine_rf_model4 <- randomForest(quality ~ pH + residual.sugar + sulphates + alcohol, data = wine)
wine_rf_explainer4 <- explain(wine_rf_model4, data = wine, label = "model_rf")
wine_rf_explainer4
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.