{"action":"created","comment":{"url":"https://api.github.com/repos/rohinikapoor/organizational-roles/pulls/comments/169354574","pull_request_review_id":97867593,"id":169354574,"diff_hunk":"@@ -1,9 +1,76 @@\n from model import Model\n+import torch\n+import torch.nn as nn\n+import torch.autograd as autograd\n+import torch.optim as optim\n+import utils\n+import numpy as np\n \n \n-class Model1(Model):\n+class Model1(nn.Module, Model):\n+\n+    def __init__(self, epochs=10):\n+        self.epochs = epochs\n+        super(Model1, self).__init__()\n+        # embedding lookup for 150 users each have 100 dimension representation\n+        self.embedding_layer = nn.Embedding(150, 100)","path":"code/model1.py","position":17,"original_position":17,"commit_id":"696210d918f85ad41009494c6b2e3f229537ddef","original_commit_id":"696210d918f85ad41009494c6b2e3f229537ddef","user":{"login":"mudit1990","id":1503607,"avatar_url":"https://avatars2.githubusercontent.com/u/1503607?v=4","gravatar_id":"","url":"https://api.github.com/users/mudit1990","html_url":"https://github.com/mudit1990","followers_url":"https://api.github.com/users/mudit1990/followers","following_url":"https://api.github.com/users/mudit1990/following{/other_user}","gists_url":"https://api.github.com/users/mudit1990/gists{/gist_id}","starred_url":"https://api.github.com/users/mudit1990/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mudit1990/subscriptions","organizations_url":"https://api.github.com/users/mudit1990/orgs","repos_url":"https://api.github.com/users/mudit1990/repos","events_url":"https://api.github.com/users/mudit1990/events{/privacy}","received_events_url":"https://api.github.com/users/mudit1990/received_events","type":"User","site_admin":false},"body":"yeah ... it was just an approx number","created_at":"2018-02-20T15:28:39Z","updated_at":"2018-02-20T15:28:40Z","html_url":"https://github.com/rohinikapoor/organizational-roles/pull/20#discussion_r169354574","pull_request_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/pulls/20","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/rohinikapoor/organizational-roles/pulls/comments/169354574"},"html":{"href":"https://github.com/rohinikapoor/organizational-roles/pull/20#discussion_r169354574"},"pull_request":{"href":"https://api.github.com/repos/rohinikapoor/organizational-roles/pulls/20"}},"in_reply_to_id":169312621},"pull_request":{"url":"https://api.github.com/repos/rohinikapoor/organizational-roles/pulls/20","id":170103068,"html_url":"https://github.com/rohinikapoor/organizational-roles/pull/20","diff_url":"https://github.com/rohinikapoor/organizational-roles/pull/20.diff","patch_url":"https://github.com/rohinikapoor/organizational-roles/pull/20.patch","issue_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/issues/20","number":20,"state":"open","locked":false,"title":"initial code for model1","user":{"login":"mudit1990","id":1503607,"avatar_url":"https://avatars2.githubusercontent.com/u/1503607?v=4","gravatar_id":"","url":"https://api.github.com/users/mudit1990","html_url":"https://github.com/mudit1990","followers_url":"https://api.github.com/users/mudit1990/followers","following_url":"https://api.github.com/users/mudit1990/following{/other_user}","gists_url":"https://api.github.com/users/mudit1990/gists{/gist_id}","starred_url":"https://api.github.com/users/mudit1990/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mudit1990/subscriptions","organizations_url":"https://api.github.com/users/mudit1990/orgs","repos_url":"https://api.github.com/users/mudit1990/repos","events_url":"https://api.github.com/users/mudit1990/events{/privacy}","received_events_url":"https://api.github.com/users/mudit1990/received_events","type":"User","site_admin":false},"body":"DO NOT MERGE","created_at":"2018-02-20T05:14:48Z","updated_at":"2018-02-20T15:28:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8c95646a1a7c59f6af87a9cd33b2b448022b899c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/pulls/20/commits","review_comments_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/pulls/20/comments","review_comment_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/issues/20/comments","statuses_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/statuses/696210d918f85ad41009494c6b2e3f229537ddef","head":{"label":"rohinikapoor:mudit-dev","ref":"mudit-dev","sha":"696210d918f85ad41009494c6b2e3f229537ddef","user":{"login":"rohinikapoor","id":25829924,"avatar_url":"https://avatars0.githubusercontent.com/u/25829924?v=4","gravatar_id":"","url":"https://api.github.com/users/rohinikapoor","html_url":"https://github.com/rohinikapoor","followers_url":"https://api.github.com/users/rohinikapoor/followers","following_url":"https://api.github.com/users/rohinikapoor/following{/other_user}","gists_url":"https://api.github.com/users/rohinikapoor/gists{/gist_id}","starred_url":"https://api.github.com/users/rohinikapoor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rohinikapoor/subscriptions","organizations_url":"https://api.github.com/users/rohinikapoor/orgs","repos_url":"https://api.github.com/users/rohinikapoor/repos","events_url":"https://api.github.com/users/rohinikapoor/events{/privacy}","received_events_url":"https://api.github.com/users/rohinikapoor/received_events","type":"User","site_admin":false},"repo":{"id":120226543,"name":"organizational-roles","full_name":"rohinikapoor/organizational-roles","owner":{"login":"rohinikapoor","id":25829924,"avatar_url":"https://avatars0.githubusercontent.com/u/25829924?v=4","gravatar_id":"","url":"https://api.github.com/users/rohinikapoor","html_url":"https://github.com/rohinikapoor","followers_url":"https://api.github.com/users/rohinikapoor/followers","following_url":"https://api.github.com/users/rohinikapoor/following{/other_user}","gists_url":"https://api.github.com/users/rohinikapoor/gists{/gist_id}","starred_url":"https://api.github.com/users/rohinikapoor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rohinikapoor/subscriptions","organizations_url":"https://api.github.com/users/rohinikapoor/orgs","repos_url":"https://api.github.com/users/rohinikapoor/repos","events_url":"https://api.github.com/users/rohinikapoor/events{/privacy}","received_events_url":"https://api.github.com/users/rohinikapoor/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rohinikapoor/organizational-roles","description":"Organizational Role Detection using Enron Dataset","fork":false,"url":"https://api.github.com/repos/rohinikapoor/organizational-roles","forks_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/forks","keys_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/teams","hooks_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/hooks","issue_events_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/issues/events{/number}","events_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/events","assignees_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/assignees{/user}","branches_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/branches{/branch}","tags_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/tags","blobs_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/git/refs{/sha}","trees_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/statuses/{sha}","languages_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/languages","stargazers_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/stargazers","contributors_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/contributors","subscribers_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/subscribers","subscription_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/subscription","commits_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/commits{/sha}","git_commits_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/git/commits{/sha}","comments_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/comments{/number}","issue_comment_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/issues/comments{/number}","contents_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/contents/{+path}","compare_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/merges","archive_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/downloads","issues_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/issues{/number}","pulls_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/pulls{/number}","milestones_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/milestones{/number}","notifications_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/labels{/name}","releases_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/releases{/id}","deployments_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/deployments","created_at":"2018-02-04T21:50:59Z","updated_at":"2018-02-17T05:32:07Z","pushed_at":"2018-02-20T05:14:48Z","git_url":"git://github.com/rohinikapoor/organizational-roles.git","ssh_url":"git@github.com:rohinikapoor/organizational-roles.git","clone_url":"https://github.com/rohinikapoor/organizational-roles.git","svn_url":"https://github.com/rohinikapoor/organizational-roles","homepage":null,"size":20234,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":11,"license":null,"forks":0,"open_issues":11,"watchers":0,"default_branch":"master"}},"base":{"label":"rohinikapoor:master","ref":"master","sha":"af2013e90afbfb4b53ff995157ca9c68d26dc85d","user":{"login":"rohinikapoor","id":25829924,"avatar_url":"https://avatars0.githubusercontent.com/u/25829924?v=4","gravatar_id":"","url":"https://api.github.com/users/rohinikapoor","html_url":"https://github.com/rohinikapoor","followers_url":"https://api.github.com/users/rohinikapoor/followers","following_url":"https://api.github.com/users/rohinikapoor/following{/other_user}","gists_url":"https://api.github.com/users/rohinikapoor/gists{/gist_id}","starred_url":"https://api.github.com/users/rohinikapoor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rohinikapoor/subscriptions","organizations_url":"https://api.github.com/users/rohinikapoor/orgs","repos_url":"https://api.github.com/users/rohinikapoor/repos","events_url":"https://api.github.com/users/rohinikapoor/events{/privacy}","received_events_url":"https://api.github.com/users/rohinikapoor/received_events","type":"User","site_admin":false},"repo":{"id":120226543,"name":"organizational-roles","full_name":"rohinikapoor/organizational-roles","owner":{"login":"rohinikapoor","id":25829924,"avatar_url":"https://avatars0.githubusercontent.com/u/25829924?v=4","gravatar_id":"","url":"https://api.github.com/users/rohinikapoor","html_url":"https://github.com/rohinikapoor","followers_url":"https://api.github.com/users/rohinikapoor/followers","following_url":"https://api.github.com/users/rohinikapoor/following{/other_user}","gists_url":"https://api.github.com/users/rohinikapoor/gists{/gist_id}","starred_url":"https://api.github.com/users/rohinikapoor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rohinikapoor/subscriptions","organizations_url":"https://api.github.com/users/rohinikapoor/orgs","repos_url":"https://api.github.com/users/rohinikapoor/repos","events_url":"https://api.github.com/users/rohinikapoor/events{/privacy}","received_events_url":"https://api.github.com/users/rohinikapoor/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rohinikapoor/organizational-roles","description":"Organizational Role Detection using Enron Dataset","fork":false,"url":"https://api.github.com/repos/rohinikapoor/organizational-roles","forks_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/forks","keys_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/teams","hooks_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/hooks","issue_events_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/issues/events{/number}","events_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/events","assignees_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/assignees{/user}","branches_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/branches{/branch}","tags_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/tags","blobs_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/git/refs{/sha}","trees_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/statuses/{sha}","languages_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/languages","stargazers_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/stargazers","contributors_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/contributors","subscribers_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/subscribers","subscription_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/subscription","commits_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/commits{/sha}","git_commits_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/git/commits{/sha}","comments_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/comments{/number}","issue_comment_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/issues/comments{/number}","contents_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/contents/{+path}","compare_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/merges","archive_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/downloads","issues_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/issues{/number}","pulls_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/pulls{/number}","milestones_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/milestones{/number}","notifications_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/labels{/name}","releases_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/releases{/id}","deployments_url":"https://api.github.com/repos/rohinikapoor/organizational-roles/deployments","created_at":"2018-02-04T21:50:59Z","updated_at":"2018-02-17T05:32:07Z","pushed_at":"2018-02-20T05:14:48Z","git_url":"git://github.com/rohinikapoor/organizational-roles.git","ssh_url":"git@github.com:rohinikapoor/organizational-roles.git","clone_url":"https://github.com/rohinikapoor/organizational-roles.git","svn_url":"https://github.com/rohinikapoor/organizational-roles","homepage":null,"size":20234,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":11,"license":null,"forks":0,"open_issues":11,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rohinikapoor/organizational-roles/pulls/20"},"html":{"href":"https://github.com/rohinikapoor/organizational-roles/pull/20"},"issue":{"href":"https://api.github.com/repos/rohinikapoor/organizational-roles/issues/20"},"comments":{"href":"https://api.github.com/repos/rohinikapoor/organizational-roles/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/rohinikapoor/organizational-roles/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/rohinikapoor/organizational-roles/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rohinikapoor/organizational-roles/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/rohinikapoor/organizational-roles/statuses/696210d918f85ad41009494c6b2e3f229537ddef"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"mudit1990"}}