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

Visualise Self-Attention weights response #45

Closed
tallamjr opened this issue Dec 4, 2020 · 1 comment
Closed

Visualise Self-Attention weights response #45

tallamjr opened this issue Dec 4, 2020 · 1 comment
Assignees
Labels
2 - enhancement A request or update to existing functionality 2 - feature New feature

Comments

@tallamjr
Copy link
Owner

tallamjr commented Dec 4, 2020

It would desirable to be able to plot the weight responses of an input sequence (light curve)

This has benefits of being more explainable and would help justify the use of this mechanism for this problem.

Something akin to the image below from https://github.com/cordeirojoao/ECG_Processing/blob/master/Ecg_keras_v9-Raphael.ipynb would be useful
image

This might be able to be achieved by branching off the TransformerBlock and inspecting the weights at this level. See Autoencoders notebook in https://github.com/astro-informatics/course_mlbd/blob/master/Lectures/Lecture21_AutoEncoders.ipynb for example of plotting the weights

Possible useful links:

@tallamjr tallamjr added 2 - enhancement A request or update to existing functionality 2 - feature New feature labels Dec 4, 2020
@tallamjr tallamjr self-assigned this Dec 4, 2020
tallamjr added a commit that referenced this issue Jan 26, 2021
SupernovaXception model with MTS benchmark evaluation results

This PR brings in many updates, with the major additions being the inclusion of a new architecture - `snx` which is described in #58 . This PR also runs an evaluation analysis on MTS benchmark data as well as PLAsTiCC data, #52 and #44 

Furthermore, with the changes made with 4dafd08 issues #54 and #56 can be closed

#51 can also be closed now that there exist code in place to do comparisons.

#45 can be closed with 30f495a

#39 can be closed with the inclusion of evaluation notebooks found in `astronet/notebooks`, see b7e2a84 for more.

#48 should hopefully be able to be closed depending on the outcome of this PR
@tallamjr
Copy link
Owner Author

Closed with #59

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 - enhancement A request or update to existing functionality 2 - feature New feature
Projects
None yet
Development

No branches or pull requests

1 participant