fzi-forschungszentrum-informatik / TSInterpret

An Open-Source Library for the interpretability of time series classifiers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Native Guide always generate counterfactual at the first

LbzSteven opened this issue · comments

Describe the bug
When using the Native Guide method:
exp_model = NativeGuideCF(model, (train_x, train_y), backend='PYT', mode='feat', method='NUN_CF', max_iter=10000)

The generated results are always swapping components starting at the beginning of the datasets

ChinaTown:
ChinaTown

Coffee:
coffee

GunPoint:
gunpoint

To Reproduce
Steps to reproduce the behavior. Also State the OS and the versions you are using.

Additional context
Add any other context about the problem here.

Hi @LbzSteven,

thanks for reporting the issue. I solved it in the new release.

Feel free to test it and reopen the issue if you still have problems.