{"action":"created","issue":{"url":"https://api.github.com/repos/peterwittek/somoclu/issues/43","repository_url":"https://api.github.com/repos/peterwittek/somoclu","labels_url":"https://api.github.com/repos/peterwittek/somoclu/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/peterwittek/somoclu/issues/43/comments","events_url":"https://api.github.com/repos/peterwittek/somoclu/issues/43/events","html_url":"https://github.com/peterwittek/somoclu/issues/43","id":170640901,"number":43,"title":"Activation on the surface of the map","user":{"login":"oliviaguest","id":5082092,"avatar_url":"https://avatars.githubusercontent.com/u/5082092?v=3","gravatar_id":"","url":"https://api.github.com/users/oliviaguest","html_url":"https://github.com/oliviaguest","followers_url":"https://api.github.com/users/oliviaguest/followers","following_url":"https://api.github.com/users/oliviaguest/following{/other_user}","gists_url":"https://api.github.com/users/oliviaguest/gists{/gist_id}","starred_url":"https://api.github.com/users/oliviaguest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliviaguest/subscriptions","organizations_url":"https://api.github.com/users/oliviaguest/orgs","repos_url":"https://api.github.com/users/oliviaguest/repos","events_url":"https://api.github.com/users/oliviaguest/events{/privacy}","received_events_url":"https://api.github.com/users/oliviaguest/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/peterwittek/somoclu/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/peterwittek/somoclu/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2016-08-11T13:05:49Z","updated_at":"2016-08-17T19:04:21Z","closed_at":null,"body":"I would like to obtain the activation of every SOM unit for a given input, i.e., not just the MAU/BMU. \r\n\r\nI see from the comment here https://github.com/peterwittek/somoclu/issues/39#issuecomment-235973972 by @ghost that obtaining the BMUs is relatively simple. This makes me assume/infer that the activation across the whole map is calculated by the codebook times the input - is this correct?\r\n\r\nFor example:\r\n\r\n```python\r\ndef get_surface_state(som, X):\r\n    D = np.dot(som.codebook.reshape((som.codebook.shape[0] * som.codebook.shape[1], som.codebook.shape[2])), X.T).T\r\n    return D\r\n```\r\n\r\nIf yes, can ```D``` be used as the input to another SOM? Or would that be meaningless, in your opinion? "},"comment":{"url":"https://api.github.com/repos/peterwittek/somoclu/issues/comments/240513986","html_url":"https://github.com/peterwittek/somoclu/issues/43#issuecomment-240513986","issue_url":"https://api.github.com/repos/peterwittek/somoclu/issues/43","id":240513986,"user":{"login":"oliviaguest","id":5082092,"avatar_url":"https://avatars.githubusercontent.com/u/5082092?v=3","gravatar_id":"","url":"https://api.github.com/users/oliviaguest","html_url":"https://github.com/oliviaguest","followers_url":"https://api.github.com/users/oliviaguest/followers","following_url":"https://api.github.com/users/oliviaguest/following{/other_user}","gists_url":"https://api.github.com/users/oliviaguest/gists{/gist_id}","starred_url":"https://api.github.com/users/oliviaguest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliviaguest/subscriptions","organizations_url":"https://api.github.com/users/oliviaguest/orgs","repos_url":"https://api.github.com/users/oliviaguest/repos","events_url":"https://api.github.com/users/oliviaguest/events{/privacy}","received_events_url":"https://api.github.com/users/oliviaguest/received_events","type":"User","site_admin":false},"created_at":"2016-08-17T19:04:21Z","updated_at":"2016-08-17T19:04:21Z","body":"Thanks so much. :smile: "}}
{"actor":{"display_login":"oliviaguest"}}