dalex_variable | R Documentation |
DALEX auxiliary function for creating Partial Dependency Plots and study variable's responses vs independent vector.
dalex_variable(explainer, vars, force_class = NA, seed = 123, ...)
explainer |
Object. Result from |
vars |
Character vector. Which features do you wish to study? |
force_class |
Character. If you wish to force a class on your vars, which one do you need? |
seed |
Numeric. Seed for reproducibility |
... |
Additional parameters passed to |
List. Containing PDP results, plot and vars
input.
Other Interpretability:
dalex_local()
,
dalex_residuals()
,
h2o_explainer()
# You must have "DALEX" library to use this auxiliary function:
## Not run:
# Having an "explainer" object created with \code{h2o_explainer}:
# For numerical variables
dalex_variable(explainer, vars = c("Age", "Fare"))
# For categorical variables
dalex_variable(explainer, vars = c("Pclass", "Sex"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.