Prints Explainer Summary

# S3 method for explainer
print(x, ...)

Arguments

x

a model expaliner created with the `explain` function

...

other parameters

Examples

apartments_lm <- lm(m2.price ~ ., data = apartments) apartments_lm_ex <- explain(apartments_lm, data = apartments, label = "apartments_lm") apartments_lm_ex
#> Model label: apartments_lm #> Model class: lm #> Data head : #> m2.price construction.year surface floor no.rooms district #> 1 5897 1953 25 3 1 Srodmiescie #> 2 1818 1992 143 9 5 Bielany
library("breakDown2") wine_lm_model4 <- lm(quality ~ pH + residual.sugar + sulphates + alcohol, data = wine)
#> Error in is.data.frame(data): object 'wine' not found
wine_lm_explainer4 <- explain(wine_lm_model4, data = wine, label = "model_4v")
#> Error in explain(wine_lm_model4, data = wine, label = "model_4v"): object 'wine' not found
wine_lm_explainer4
#> Error in eval(expr, envir, enclos): object 'wine_lm_explainer4' not found
library("randomForest") wine_rf_model4 <- randomForest(quality ~ pH + residual.sugar + sulphates + alcohol, data = wine)
#> Error in eval(m$data, parent.frame()): object 'wine' not found
wine_rf_explainer4 <- explain(wine_rf_model4, data = wine, label = "model_rf")
#> Error in explain(wine_rf_model4, data = wine, label = "model_rf"): object 'wine' not found
wine_rf_explainer4
#> Error in eval(expr, envir, enclos): object 'wine_rf_explainer4' not found