Skip to content

Commit

Permalink
getting hypothetical scores instead of scores
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandari committed Oct 14, 2018
1 parent 4ac3ba6 commit 2348bc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepexplain/tensorflow/methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def __init__(self, T, X, xs, session, keras_learning_phase, baseline=None):
self.baseline = baseline

def get_symbolic_attribution(self):
return [g * (x - b) for g, x, b in zip(
return [g for g, x, b in zip(
tf.gradients(self.T, self.X),
self.X if self.has_multiple_inputs else [self.X],
self.baseline if self.has_multiple_inputs else [self.baseline])]
Expand Down

0 comments on commit 2348bc8

Please sign in to comment.