Open pramitchoudhary opened 3 years ago
might be related to #7
Is it the case that there is extreme class imbalance? If so, the empty anchor just means that almost all perturbations we try have no impact in the prediction, even if we don't fix any feature values.
Ah yes there is a class imbalance,
No Frauds: 99.83 %
Frauds 0.17 %
So, if I understand correctly it means that the perturbation engine couldn't pick a signal that overlaps with the feature space with target
as Fraud
?
anchors
for a particular threshold, it lowers the threshold and looks further?Sorry, not sure, if the above thought made sense? As you give more thought to it, will revisit the algo as well.
The threshold is a hyperparameter (threshold
), with default value 0.95. I think the empty anchor is the explanation I want in this case though, as it tells me that something to the effect of 'unless there is strong evidence otherwise, the model predicts 'No Fraud'' with high probability. That is, nothing in the example at hand is 'necessary' for a high likelihood of 'no fraud' prediction.
Still in the process of understanding the core algo but from the current understanding found it weird for the explainer to be returning empty
anchors
. Is that by design?Mentioned below is the sample code used for experimenting,
Output:
Output of
exp_map
in-case helpfulNote: One gets an output if we lower the threshold to
0.2
.