{"action":"created","comment":{"url":"https://api.github.com/repos/romanie/Diploma/pulls/comments/64386233","id":64386233,"diff_hunk":"@@ -0,0 +1,43 @@\n+#!/usr/bin/python\n+import time\n+import numpy as np\n+from termcolor import colored\n+import pickle\n+import common.py\n+import csv\n+\n+parser = argparse.ArgumentParser()\n+parser.add_argument(\"--model_filename\", dest=\"model_filename\")","path":"predict.py","position":10,"original_position":10,"commit_id":"1b7aa33390bedbe37b4fd441531e8f1ef3a0b5c8","original_commit_id":"929cf1631134b8f9fcc7bfd63d24696cd8f27c66","user":{"login":"romanie","id":5777698,"avatar_url":"https://avatars.githubusercontent.com/u/5777698?v=3","gravatar_id":"","url":"https://api.github.com/users/romanie","html_url":"https://github.com/romanie","followers_url":"https://api.github.com/users/romanie/followers","following_url":"https://api.github.com/users/romanie/following{/other_user}","gists_url":"https://api.github.com/users/romanie/gists{/gist_id}","starred_url":"https://api.github.com/users/romanie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romanie/subscriptions","organizations_url":"https://api.github.com/users/romanie/orgs","repos_url":"https://api.github.com/users/romanie/repos","events_url":"https://api.github.com/users/romanie/events{/privacy}","received_events_url":"https://api.github.com/users/romanie/received_events","type":"User","site_admin":false},"body":"Make some reasonable default like \"model.pkl\"","created_at":"2016-05-24T13:05:15Z","updated_at":"2016-05-24T13:05:15Z","html_url":"https://github.com/romanie/Diploma/pull/10#discussion_r64386233","pull_request_url":"https://api.github.com/repos/romanie/Diploma/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/romanie/Diploma/pulls/comments/64386233"},"html":{"href":"https://github.com/romanie/Diploma/pull/10#discussion_r64386233"},"pull_request":{"href":"https://api.github.com/repos/romanie/Diploma/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/romanie/Diploma/pulls/10","id":71194377,"html_url":"https://github.com/romanie/Diploma/pull/10","diff_url":"https://github.com/romanie/Diploma/pull/10.diff","patch_url":"https://github.com/romanie/Diploma/pull/10.patch","issue_url":"https://api.github.com/repos/romanie/Diploma/issues/10","number":10,"state":"open","locked":false,"title":"Splitting diploma into training and prediction","user":{"login":"romanie","id":5777698,"avatar_url":"https://avatars.githubusercontent.com/u/5777698?v=3","gravatar_id":"","url":"https://api.github.com/users/romanie","html_url":"https://github.com/romanie","followers_url":"https://api.github.com/users/romanie/followers","following_url":"https://api.github.com/users/romanie/following{/other_user}","gists_url":"https://api.github.com/users/romanie/gists{/gist_id}","starred_url":"https://api.github.com/users/romanie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romanie/subscriptions","organizations_url":"https://api.github.com/users/romanie/orgs","repos_url":"https://api.github.com/users/romanie/repos","events_url":"https://api.github.com/users/romanie/events{/privacy}","received_events_url":"https://api.github.com/users/romanie/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-24T10:21:19Z","updated_at":"2016-05-24T13:05:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0413f17b1298a9501eaafc2292e3e1a91ee56f1c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/romanie/Diploma/pulls/10/commits","review_comments_url":"https://api.github.com/repos/romanie/Diploma/pulls/10/comments","review_comment_url":"https://api.github.com/repos/romanie/Diploma/pulls/comments{/number}","comments_url":"https://api.github.com/repos/romanie/Diploma/issues/10/comments","statuses_url":"https://api.github.com/repos/romanie/Diploma/statuses/1b7aa33390bedbe37b4fd441531e8f1ef3a0b5c8","head":{"label":"romanie:dev","ref":"dev","sha":"1b7aa33390bedbe37b4fd441531e8f1ef3a0b5c8","user":{"login":"romanie","id":5777698,"avatar_url":"https://avatars.githubusercontent.com/u/5777698?v=3","gravatar_id":"","url":"https://api.github.com/users/romanie","html_url":"https://github.com/romanie","followers_url":"https://api.github.com/users/romanie/followers","following_url":"https://api.github.com/users/romanie/following{/other_user}","gists_url":"https://api.github.com/users/romanie/gists{/gist_id}","starred_url":"https://api.github.com/users/romanie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romanie/subscriptions","organizations_url":"https://api.github.com/users/romanie/orgs","repos_url":"https://api.github.com/users/romanie/repos","events_url":"https://api.github.com/users/romanie/events{/privacy}","received_events_url":"https://api.github.com/users/romanie/received_events","type":"User","site_admin":false},"repo":{"id":58581995,"name":"Diploma","full_name":"romanie/Diploma","owner":{"login":"romanie","id":5777698,"avatar_url":"https://avatars.githubusercontent.com/u/5777698?v=3","gravatar_id":"","url":"https://api.github.com/users/romanie","html_url":"https://github.com/romanie","followers_url":"https://api.github.com/users/romanie/followers","following_url":"https://api.github.com/users/romanie/following{/other_user}","gists_url":"https://api.github.com/users/romanie/gists{/gist_id}","starred_url":"https://api.github.com/users/romanie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romanie/subscriptions","organizations_url":"https://api.github.com/users/romanie/orgs","repos_url":"https://api.github.com/users/romanie/repos","events_url":"https://api.github.com/users/romanie/events{/privacy}","received_events_url":"https://api.github.com/users/romanie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/romanie/Diploma","description":null,"fork":false,"url":"https://api.github.com/repos/romanie/Diploma","forks_url":"https://api.github.com/repos/romanie/Diploma/forks","keys_url":"https://api.github.com/repos/romanie/Diploma/keys{/key_id}","collaborators_url":"https://api.github.com/repos/romanie/Diploma/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/romanie/Diploma/teams","hooks_url":"https://api.github.com/repos/romanie/Diploma/hooks","issue_events_url":"https://api.github.com/repos/romanie/Diploma/issues/events{/number}","events_url":"https://api.github.com/repos/romanie/Diploma/events","assignees_url":"https://api.github.com/repos/romanie/Diploma/assignees{/user}","branches_url":"https://api.github.com/repos/romanie/Diploma/branches{/branch}","tags_url":"https://api.github.com/repos/romanie/Diploma/tags","blobs_url":"https://api.github.com/repos/romanie/Diploma/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/romanie/Diploma/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/romanie/Diploma/git/refs{/sha}","trees_url":"https://api.github.com/repos/romanie/Diploma/git/trees{/sha}","statuses_url":"https://api.github.com/repos/romanie/Diploma/statuses/{sha}","languages_url":"https://api.github.com/repos/romanie/Diploma/languages","stargazers_url":"https://api.github.com/repos/romanie/Diploma/stargazers","contributors_url":"https://api.github.com/repos/romanie/Diploma/contributors","subscribers_url":"https://api.github.com/repos/romanie/Diploma/subscribers","subscription_url":"https://api.github.com/repos/romanie/Diploma/subscription","commits_url":"https://api.github.com/repos/romanie/Diploma/commits{/sha}","git_commits_url":"https://api.github.com/repos/romanie/Diploma/git/commits{/sha}","comments_url":"https://api.github.com/repos/romanie/Diploma/comments{/number}","issue_comment_url":"https://api.github.com/repos/romanie/Diploma/issues/comments{/number}","contents_url":"https://api.github.com/repos/romanie/Diploma/contents/{+path}","compare_url":"https://api.github.com/repos/romanie/Diploma/compare/{base}...{head}","merges_url":"https://api.github.com/repos/romanie/Diploma/merges","archive_url":"https://api.github.com/repos/romanie/Diploma/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/romanie/Diploma/downloads","issues_url":"https://api.github.com/repos/romanie/Diploma/issues{/number}","pulls_url":"https://api.github.com/repos/romanie/Diploma/pulls{/number}","milestones_url":"https://api.github.com/repos/romanie/Diploma/milestones{/number}","notifications_url":"https://api.github.com/repos/romanie/Diploma/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/romanie/Diploma/labels{/name}","releases_url":"https://api.github.com/repos/romanie/Diploma/releases{/id}","deployments_url":"https://api.github.com/repos/romanie/Diploma/deployments","created_at":"2016-05-11T21:12:41Z","updated_at":"2016-05-23T17:51:15Z","pushed_at":"2016-05-24T13:04:10Z","git_url":"git://github.com/romanie/Diploma.git","ssh_url":"git@github.com:romanie/Diploma.git","clone_url":"https://github.com/romanie/Diploma.git","svn_url":"https://github.com/romanie/Diploma","homepage":null,"size":24,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"romanie:master","ref":"master","sha":"54df1dcb1409a8df7090c60bd3bf0106c1d9c4fd","user":{"login":"romanie","id":5777698,"avatar_url":"https://avatars.githubusercontent.com/u/5777698?v=3","gravatar_id":"","url":"https://api.github.com/users/romanie","html_url":"https://github.com/romanie","followers_url":"https://api.github.com/users/romanie/followers","following_url":"https://api.github.com/users/romanie/following{/other_user}","gists_url":"https://api.github.com/users/romanie/gists{/gist_id}","starred_url":"https://api.github.com/users/romanie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romanie/subscriptions","organizations_url":"https://api.github.com/users/romanie/orgs","repos_url":"https://api.github.com/users/romanie/repos","events_url":"https://api.github.com/users/romanie/events{/privacy}","received_events_url":"https://api.github.com/users/romanie/received_events","type":"User","site_admin":false},"repo":{"id":58581995,"name":"Diploma","full_name":"romanie/Diploma","owner":{"login":"romanie","id":5777698,"avatar_url":"https://avatars.githubusercontent.com/u/5777698?v=3","gravatar_id":"","url":"https://api.github.com/users/romanie","html_url":"https://github.com/romanie","followers_url":"https://api.github.com/users/romanie/followers","following_url":"https://api.github.com/users/romanie/following{/other_user}","gists_url":"https://api.github.com/users/romanie/gists{/gist_id}","starred_url":"https://api.github.com/users/romanie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romanie/subscriptions","organizations_url":"https://api.github.com/users/romanie/orgs","repos_url":"https://api.github.com/users/romanie/repos","events_url":"https://api.github.com/users/romanie/events{/privacy}","received_events_url":"https://api.github.com/users/romanie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/romanie/Diploma","description":null,"fork":false,"url":"https://api.github.com/repos/romanie/Diploma","forks_url":"https://api.github.com/repos/romanie/Diploma/forks","keys_url":"https://api.github.com/repos/romanie/Diploma/keys{/key_id}","collaborators_url":"https://api.github.com/repos/romanie/Diploma/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/romanie/Diploma/teams","hooks_url":"https://api.github.com/repos/romanie/Diploma/hooks","issue_events_url":"https://api.github.com/repos/romanie/Diploma/issues/events{/number}","events_url":"https://api.github.com/repos/romanie/Diploma/events","assignees_url":"https://api.github.com/repos/romanie/Diploma/assignees{/user}","branches_url":"https://api.github.com/repos/romanie/Diploma/branches{/branch}","tags_url":"https://api.github.com/repos/romanie/Diploma/tags","blobs_url":"https://api.github.com/repos/romanie/Diploma/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/romanie/Diploma/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/romanie/Diploma/git/refs{/sha}","trees_url":"https://api.github.com/repos/romanie/Diploma/git/trees{/sha}","statuses_url":"https://api.github.com/repos/romanie/Diploma/statuses/{sha}","languages_url":"https://api.github.com/repos/romanie/Diploma/languages","stargazers_url":"https://api.github.com/repos/romanie/Diploma/stargazers","contributors_url":"https://api.github.com/repos/romanie/Diploma/contributors","subscribers_url":"https://api.github.com/repos/romanie/Diploma/subscribers","subscription_url":"https://api.github.com/repos/romanie/Diploma/subscription","commits_url":"https://api.github.com/repos/romanie/Diploma/commits{/sha}","git_commits_url":"https://api.github.com/repos/romanie/Diploma/git/commits{/sha}","comments_url":"https://api.github.com/repos/romanie/Diploma/comments{/number}","issue_comment_url":"https://api.github.com/repos/romanie/Diploma/issues/comments{/number}","contents_url":"https://api.github.com/repos/romanie/Diploma/contents/{+path}","compare_url":"https://api.github.com/repos/romanie/Diploma/compare/{base}...{head}","merges_url":"https://api.github.com/repos/romanie/Diploma/merges","archive_url":"https://api.github.com/repos/romanie/Diploma/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/romanie/Diploma/downloads","issues_url":"https://api.github.com/repos/romanie/Diploma/issues{/number}","pulls_url":"https://api.github.com/repos/romanie/Diploma/pulls{/number}","milestones_url":"https://api.github.com/repos/romanie/Diploma/milestones{/number}","notifications_url":"https://api.github.com/repos/romanie/Diploma/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/romanie/Diploma/labels{/name}","releases_url":"https://api.github.com/repos/romanie/Diploma/releases{/id}","deployments_url":"https://api.github.com/repos/romanie/Diploma/deployments","created_at":"2016-05-11T21:12:41Z","updated_at":"2016-05-23T17:51:15Z","pushed_at":"2016-05-24T13:04:10Z","git_url":"git://github.com/romanie/Diploma.git","ssh_url":"git@github.com:romanie/Diploma.git","clone_url":"https://github.com/romanie/Diploma.git","svn_url":"https://github.com/romanie/Diploma","homepage":null,"size":24,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/romanie/Diploma/pulls/10"},"html":{"href":"https://github.com/romanie/Diploma/pull/10"},"issue":{"href":"https://api.github.com/repos/romanie/Diploma/issues/10"},"comments":{"href":"https://api.github.com/repos/romanie/Diploma/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/romanie/Diploma/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/romanie/Diploma/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/romanie/Diploma/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/romanie/Diploma/statuses/1b7aa33390bedbe37b4fd441531e8f1ef3a0b5c8"}}}}
{"actor":{"display_login":"romanie"}}