{"action":"created","issue":{"url":"https://api.github.com/repos/keras-team/keras/issues/7288","repository_url":"https://api.github.com/repos/keras-team/keras","labels_url":"https://api.github.com/repos/keras-team/keras/issues/7288/labels{/name}","comments_url":"https://api.github.com/repos/keras-team/keras/issues/7288/comments","events_url":"https://api.github.com/repos/keras-team/keras/issues/7288/events","html_url":"https://github.com/keras-team/keras/issues/7288","id":241615150,"number":7288,"title":"How to visualize an attention mechanism in a classification task?","user":{"login":"aryopg","id":17272091,"avatar_url":"https://avatars1.githubusercontent.com/u/17272091?v=4","gravatar_id":"","url":"https://api.github.com/users/aryopg","html_url":"https://github.com/aryopg","followers_url":"https://api.github.com/users/aryopg/followers","following_url":"https://api.github.com/users/aryopg/following{/other_user}","gists_url":"https://api.github.com/users/aryopg/gists{/gist_id}","starred_url":"https://api.github.com/users/aryopg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aryopg/subscriptions","organizations_url":"https://api.github.com/users/aryopg/orgs","repos_url":"https://api.github.com/users/aryopg/repos","events_url":"https://api.github.com/users/aryopg/events{/privacy}","received_events_url":"https://api.github.com/users/aryopg/received_events","type":"User","site_admin":false},"labels":[{"id":611595073,"url":"https://api.github.com/repos/keras-team/keras/labels/stale","name":"stale","color":"ffffff","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-07-10T06:48:58Z","updated_at":"2018-05-03T22:09:25Z","closed_at":"2017-11-07T07:55:10Z","author_association":"NONE","body":"I've managed to finish experiments using attention mechanism adopted from [@cbaziotis implementation](https://gist.github.com/cbaziotis/7ef97ccf71cbc14366835198c09809d2) and now i'm confused with the visualization. I don't really understand the heatmap as well. If you guys can explain these to me, it means a lot :\r\n\r\n1. What is heatmap? how to read them?\r\n2. What to visualize in an attention mechanism? The weight?\r\n3. The code to visualize an attention mechanism, in conjunction to [@cbaziotis' implementation](https://gist.github.com/cbaziotis/7ef97ccf71cbc14366835198c09809d2)\r\n\r\nThanks in advance!"},"comment":{"url":"https://api.github.com/repos/keras-team/keras/issues/comments/386452347","html_url":"https://github.com/keras-team/keras/issues/7288#issuecomment-386452347","issue_url":"https://api.github.com/repos/keras-team/keras/issues/7288","id":386452347,"user":{"login":"spate141","id":10580847,"avatar_url":"https://avatars2.githubusercontent.com/u/10580847?v=4","gravatar_id":"","url":"https://api.github.com/users/spate141","html_url":"https://github.com/spate141","followers_url":"https://api.github.com/users/spate141/followers","following_url":"https://api.github.com/users/spate141/following{/other_user}","gists_url":"https://api.github.com/users/spate141/gists{/gist_id}","starred_url":"https://api.github.com/users/spate141/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spate141/subscriptions","organizations_url":"https://api.github.com/users/spate141/orgs","repos_url":"https://api.github.com/users/spate141/repos","events_url":"https://api.github.com/users/spate141/events{/privacy}","received_events_url":"https://api.github.com/users/spate141/received_events","type":"User","site_admin":false},"created_at":"2018-05-03T22:09:25Z","updated_at":"2018-05-03T22:09:25Z","author_association":"NONE","body":"@aryopg Any updates?"}}
{"actor":{"display_login":"spate141"}}