fzi-forschungszentrum-informatik / TSInterpret

An Open-Source Library for the interpretability of time series classifiers
BSD 3-Clause "New" or "Revised" License
115 stars 8 forks source link

Native Guide always generate counterfactual at the first #63

Closed LbzSteven closed 5 months ago

LbzSteven commented 6 months ago

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.

JHoelli commented 5 months ago

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.