Closed aliamini-uq closed 6 months ago
Dear @LHBO,
I will be honored if you take a look at my problem.
Kind regards, A
Hi
You can use them, but you will get one shapley value per level in your categorical data, which does not really make sense, and will also increase the computational complexity unnecessarily . Thus, you should rather transform your data back to the original setup without one-hot-encoding and pass that to shapr using a prediction function which takes the original data as input.
Hope this helps.
Many thanks for your help.
Dear @LHBO,
Many thanks for adding
vaeac
approach to theshapr
package. According to issue #385:An end-user can benefit from
vaeac
,independence
,ctree
dependency modeling approaches without applying one-hot encoding. However, If I have a dataset, for example, Abalone, where the categorical feature is previously encoded, can I usevaeac
,independence
, andctree
approaches in this setting? Last but not least, I really appreciate your priceless time in advance.Kind regards, A