PDPConfig | R Documentation |
If PDP is requested, the Partial Dependence Plots will be included in the report, and the corresponding values will be included in the analysis output.
sagemaker.common::ExplainabilityConfig
-> PDPConfig
pdp_config
PDP Config
new()
Initializes config for PDP.
PDPConfig$new(features = NULL, grid_resolution = 15, top_k_features = 10)
features
(None or list): List of features names or indices for which partial dependence plots must be computed and plotted. When ShapConfig is provided, this parameter is optional as Clarify will try to compute the partial dependence plots for top feature based on SHAP attributions. When ShapConfig is not provided, 'features' must be provided.
grid_resolution
(int): In case of numerical features, this number represents that number of buckets that range of values must be divided into. This decides the granularity of the grid in which the PDP are plotted.
top_k_features
(int): Set the number of top SHAP attributes to be selected to compute partial dependence plots.
get_explainability_config()
Returns config.
PDPConfig$get_explainability_config()
clone()
The objects of this class are cloneable with this method.
PDPConfig$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.