Is it possible with this implementation to impose a sum constraints on one-hot encoded feature columns, so that only one of the colums can be set to 1?
e.g. if you have features x1 x2 x3 = (0,0,1) then (1,0,1) should not be a returned as a counterfactual.
I didn't find it in the code, but it's mentioned in the paper: "Customizing the Action Space.Users can easily customize the set of feasible actions by addinglogical constraints to the IP. These constraints can be used when, for example, a classifier uses dummyvariables to encode a categorical attribute (i.e., a one-hot encoding)."
Did I overlook it?
Thanks!
Is it possible with this implementation to impose a sum constraints on one-hot encoded feature columns, so that only one of the colums can be set to 1?
e.g. if you have features x1 x2 x3 = (0,0,1) then (1,0,1) should not be a returned as a counterfactual.
I didn't find it in the code, but it's mentioned in the paper: "Customizing the Action Space.Users can easily customize the set of feasible actions by addinglogical constraints to the IP. These constraints can be used when, for example, a classifier uses dummyvariables to encode a categorical attribute (i.e., a one-hot encoding)."
Did I overlook it?
Thanks!