Skip to content

Commit 4a553dd

Browse files
authored
Merge pull request #71 from kndbvortex/main
adding train_x variable in SETSTCF for feat mode
2 parents a6e7b00 + 8d09386 commit 4a553dd

File tree

1 file changed

+1
-0
lines changed
  • TSInterpret/InterpretabilityModels/counterfactual

1 file changed

+1
-0
lines changed

TSInterpret/InterpretabilityModels/counterfactual/SETSCF.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ def __init__(
8888
self.ts_len = train_x.shape[1]
8989
elif mode == "feat":
9090
change = False
91+
self.train_x = np.array(train_x)
9192
self.ts_len = train_x.shape[2]
9293
self.train_x_n = from_3d_numpy_to_nested(self.train_x)
9394
if backend == "PYT":

0 commit comments

Comments
 (0)