Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LEFTIST Output Is Independent of Data/Model #57

Closed
shrezaei opened this issue Feb 24, 2024 · 2 comments
Closed

LEFTIST Output Is Independent of Data/Model #57

shrezaei opened this issue Feb 24, 2024 · 2 comments

Comments

@shrezaei
Copy link

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.
0
1
2
3

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
Copy link
Contributor

JHoelli commented Feb 24, 2024

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

@JHoelli JHoelli mentioned this issue Feb 26, 2024
@JHoelli
Copy link
Contributor

JHoelli commented Apr 3, 2024

Closed due to inactivity.

@JHoelli JHoelli closed this as completed Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants