dandls / counterfactuals

counterfactuals: An R package for Counterfactual Explanation Methods
https://dandls.github.io/counterfactuals/
GNU Lesser General Public License v3.0
21 stars 4 forks source link

update parallelplot to show factor/char variables #30

Closed dandls closed 1 year ago

dandls commented 1 year ago

I found it confusing that the parallel plot only shows the changes in the numeric features. In some cases, also categorical features need to be changed in order to receive a desired prediction. Since these are omitted in the plot, the user does not know about them (only when the person has a look at the very lengthy table of the counterfactuals).