LEFTIST Output Is Independent of Data/Model
shrezaei opened this issue · comments
Describe the bug
Regardless of the model and data, the output of the LEFTIST is either the first few time steps or last few time steps. In a few experiment I did, it seems that it purely depends on the class label, not the model or data. Even in the documentation (https://fzi-forschungszentrum-informatik.github.io/TSInterpret/Notebooks/Leftist_torch/) the same issue presents.
Here are a few examples where the distinguishable feature is the Sine wave segment of the time series.
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 @shrezaei,
Thanks for reporting the issue.
I found a small bug in the generation of the heatmaps from the explanations, it is fixed here:
pip install https://github.com/fzi-forschungszentrum-informatik/TSInterpret/archive/refs/heads/LEFTIST.zip
.
(I will publish a new release when I am sure that everything is fixed.)
Other than that, I could not really find anything wrong. LEFTIST is unfortunately quite prone to the parameter settings used, so if you still have problems, providing yours would help me localize the issue.
I also pushed a new notebook: https://github.com/fzi-forschungszentrum-informatik/TSInterpret/blob/LEFTIST/docs/Notebooks/Leftist_torch.ipynb
Hope that helps
Closed due to inactivity.