R/MrProfile2D.R
mrProfile2D.Rd
Plots multi-response 2D profile plots to help interpret interactions
mrProfile2D( mrIMLconverts_list, featureA, featureB, mode = "regression", grid.size = 30, method = "ale" )
mrIMLconverts_list | A |
---|---|
featureA | A |
featureB | A |
mode |
|
grid.size |
|
method |
|
This function computes multivariate 2D profile plots for feature pairs of interest by taking the average prediction across feature space for all responses. This plot can be generated based on accumulated feature effects (ALEs) or partial dependencies. We recommend ALEs (see Molnar, 2019) as they are the most reliable and do not calculate predictions for unrealistic combinations of features. If there are no interactions the ALE estimation will be 0. Figures can be further edited using ggplot2.