DALEX auxiliary function for creating Partial Dependency Plots and study variable's responses vs independent vector.
dalex_variable(explainer, vars, force_class = NA, ...)
Object. Result from h2o_explainer
function.
Character vector. Which features do you wish to study?
Character. If you wish to force a class on your vars, which one do you need?
Additional parameters passed to model_profile
.
List. Containing PDP results, plot and vars
input.
Other Interpretability:
dalex_local()
,
dalex_residuals()
,
h2o_explainer()
# NOT RUN {
# 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"))
# }
Run the code above in your browser using DataLab