{"action":"created","issue":{"url":"https://api.github.com/repos/wuxiyu/transE/issues/1","repository_url":"https://api.github.com/repos/wuxiyu/transE","labels_url":"https://api.github.com/repos/wuxiyu/transE/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/wuxiyu/transE/issues/1/comments","events_url":"https://api.github.com/repos/wuxiyu/transE/issues/1/events","html_url":"https://github.com/wuxiyu/transE/issues/1","id":150619555,"number":1,"title":"update function","user":{"login":"lakpatashi","id":10726069,"avatar_url":"https://avatars.githubusercontent.com/u/10726069?v=3","gravatar_id":"","url":"https://api.github.com/users/lakpatashi","html_url":"https://github.com/lakpatashi","followers_url":"https://api.github.com/users/lakpatashi/followers","following_url":"https://api.github.com/users/lakpatashi/following{/other_user}","gists_url":"https://api.github.com/users/lakpatashi/gists{/gist_id}","starred_url":"https://api.github.com/users/lakpatashi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lakpatashi/subscriptions","organizations_url":"https://api.github.com/users/lakpatashi/orgs","repos_url":"https://api.github.com/users/lakpatashi/repos","events_url":"https://api.github.com/users/lakpatashi/events{/privacy}","received_events_url":"https://api.github.com/users/lakpatashi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-24T03:03:06Z","updated_at":"2016-04-24T07:02:35Z","closed_at":null,"body":"You have written quite neat and clean code for transE. I really appreciate. I didn't understand what really going within update function. It will be really helpful to me if you explain. What is tempPositive and tempNegative. How you got that formula for all temp's. Portion of code is given below:\r\n```python\r\ntempPositive = 2 * self.learingRate * (tailEntityVector - headEntityVector - relationVector)\r\ntempNegtative = 2 * self.learingRate * (tailEntityVectorWithCorruptedTriplet - headEntityVectorWithCorruptedTriplet - relationVector)\r\n\r\ntemp1 = headEntityVector + tempPositive\r\ntemp2 = tailEntityVector - tempPositive\r\ntemp3 = relationVector + tempPositive - tempNegtative\r\ntemp4 = headEntityVectorWithCorruptedTriplet - tempNegtative\r\ntemp5 = tailEntityVectorWithCorruptedTriplet + tempNegtative\r\n```"},"comment":{"url":"https://api.github.com/repos/wuxiyu/transE/issues/comments/213906108","html_url":"https://github.com/wuxiyu/transE/issues/1#issuecomment-213906108","issue_url":"https://api.github.com/repos/wuxiyu/transE/issues/1","id":213906108,"user":{"login":"wuxiyu","id":12383433,"avatar_url":"https://avatars.githubusercontent.com/u/12383433?v=3","gravatar_id":"","url":"https://api.github.com/users/wuxiyu","html_url":"https://github.com/wuxiyu","followers_url":"https://api.github.com/users/wuxiyu/followers","following_url":"https://api.github.com/users/wuxiyu/following{/other_user}","gists_url":"https://api.github.com/users/wuxiyu/gists{/gist_id}","starred_url":"https://api.github.com/users/wuxiyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wuxiyu/subscriptions","organizations_url":"https://api.github.com/users/wuxiyu/orgs","repos_url":"https://api.github.com/users/wuxiyu/repos","events_url":"https://api.github.com/users/wuxiyu/events{/privacy}","received_events_url":"https://api.github.com/users/wuxiyu/received_events","type":"User","site_admin":false},"created_at":"2016-04-24T07:02:35Z","updated_at":"2016-04-24T07:02:35Z","body":"I'm not very clear.\r\nIn the paper,the author use it to intialize all of vectors.(maybe for convergence described by a paper that I don't know)"}}