{"action":"opened","number":3,"pull_request":{"url":"https://api.github.com/repos/jlund3/ankura/pulls/3","id":46223265,"html_url":"https://github.com/jlund3/ankura/pull/3","diff_url":"https://github.com/jlund3/ankura/pull/3.diff","patch_url":"https://github.com/jlund3/ankura/pull/3.patch","issue_url":"https://api.github.com/repos/jlund3/ankura/issues/3","number":3,"state":"open","locked":false,"title":"Sampling code now trains with Dataset, not a dictionary","user":{"login":"nOkuda","id":1238620,"avatar_url":"https://avatars.githubusercontent.com/u/1238620?v=3","gravatar_id":"","url":"https://api.github.com/users/nOkuda","html_url":"https://github.com/nOkuda","followers_url":"https://api.github.com/users/nOkuda/followers","following_url":"https://api.github.com/users/nOkuda/following{/other_user}","gists_url":"https://api.github.com/users/nOkuda/gists{/gist_id}","starred_url":"https://api.github.com/users/nOkuda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nOkuda/subscriptions","organizations_url":"https://api.github.com/users/nOkuda/orgs","repos_url":"https://api.github.com/users/nOkuda/repos","events_url":"https://api.github.com/users/nOkuda/events{/privacy}","received_events_url":"https://api.github.com/users/nOkuda/received_events","type":"User","site_admin":false},"body":"I had to add a function to Dataset to pregenerate the document tokens.  The way I've coded this pregeneration, it takes less than a second to compute on the dataset I'm using.  Using the provided doc_tokens function wasn't done even after a minute.","created_at":"2015-09-29T00:07:11Z","updated_at":"2015-09-29T00:07:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jlund3/ankura/pulls/3/commits","review_comments_url":"https://api.github.com/repos/jlund3/ankura/pulls/3/comments","review_comment_url":"https://api.github.com/repos/jlund3/ankura/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jlund3/ankura/issues/3/comments","statuses_url":"https://api.github.com/repos/jlund3/ankura/statuses/094dc7ce97f1c31185d74db392e3ef2ea3d02f5d","head":{"label":"nOkuda:master","ref":"master","sha":"094dc7ce97f1c31185d74db392e3ef2ea3d02f5d","user":{"login":"nOkuda","id":1238620,"avatar_url":"https://avatars.githubusercontent.com/u/1238620?v=3","gravatar_id":"","url":"https://api.github.com/users/nOkuda","html_url":"https://github.com/nOkuda","followers_url":"https://api.github.com/users/nOkuda/followers","following_url":"https://api.github.com/users/nOkuda/following{/other_user}","gists_url":"https://api.github.com/users/nOkuda/gists{/gist_id}","starred_url":"https://api.github.com/users/nOkuda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nOkuda/subscriptions","organizations_url":"https://api.github.com/users/nOkuda/orgs","repos_url":"https://api.github.com/users/nOkuda/repos","events_url":"https://api.github.com/users/nOkuda/events{/privacy}","received_events_url":"https://api.github.com/users/nOkuda/received_events","type":"User","site_admin":false},"repo":{"id":42667530,"name":"ankura","full_name":"nOkuda/ankura","owner":{"login":"nOkuda","id":1238620,"avatar_url":"https://avatars.githubusercontent.com/u/1238620?v=3","gravatar_id":"","url":"https://api.github.com/users/nOkuda","html_url":"https://github.com/nOkuda","followers_url":"https://api.github.com/users/nOkuda/followers","following_url":"https://api.github.com/users/nOkuda/following{/other_user}","gists_url":"https://api.github.com/users/nOkuda/gists{/gist_id}","starred_url":"https://api.github.com/users/nOkuda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nOkuda/subscriptions","organizations_url":"https://api.github.com/users/nOkuda/orgs","repos_url":"https://api.github.com/users/nOkuda/repos","events_url":"https://api.github.com/users/nOkuda/events{/privacy}","received_events_url":"https://api.github.com/users/nOkuda/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nOkuda/ankura","description":"","fork":true,"url":"https://api.github.com/repos/nOkuda/ankura","forks_url":"https://api.github.com/repos/nOkuda/ankura/forks","keys_url":"https://api.github.com/repos/nOkuda/ankura/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nOkuda/ankura/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nOkuda/ankura/teams","hooks_url":"https://api.github.com/repos/nOkuda/ankura/hooks","issue_events_url":"https://api.github.com/repos/nOkuda/ankura/issues/events{/number}","events_url":"https://api.github.com/repos/nOkuda/ankura/events","assignees_url":"https://api.github.com/repos/nOkuda/ankura/assignees{/user}","branches_url":"https://api.github.com/repos/nOkuda/ankura/branches{/branch}","tags_url":"https://api.github.com/repos/nOkuda/ankura/tags","blobs_url":"https://api.github.com/repos/nOkuda/ankura/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nOkuda/ankura/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nOkuda/ankura/git/refs{/sha}","trees_url":"https://api.github.com/repos/nOkuda/ankura/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nOkuda/ankura/statuses/{sha}","languages_url":"https://api.github.com/repos/nOkuda/ankura/languages","stargazers_url":"https://api.github.com/repos/nOkuda/ankura/stargazers","contributors_url":"https://api.github.com/repos/nOkuda/ankura/contributors","subscribers_url":"https://api.github.com/repos/nOkuda/ankura/subscribers","subscription_url":"https://api.github.com/repos/nOkuda/ankura/subscription","commits_url":"https://api.github.com/repos/nOkuda/ankura/commits{/sha}","git_commits_url":"https://api.github.com/repos/nOkuda/ankura/git/commits{/sha}","comments_url":"https://api.github.com/repos/nOkuda/ankura/comments{/number}","issue_comment_url":"https://api.github.com/repos/nOkuda/ankura/issues/comments{/number}","contents_url":"https://api.github.com/repos/nOkuda/ankura/contents/{+path}","compare_url":"https://api.github.com/repos/nOkuda/ankura/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nOkuda/ankura/merges","archive_url":"https://api.github.com/repos/nOkuda/ankura/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nOkuda/ankura/downloads","issues_url":"https://api.github.com/repos/nOkuda/ankura/issues{/number}","pulls_url":"https://api.github.com/repos/nOkuda/ankura/pulls{/number}","milestones_url":"https://api.github.com/repos/nOkuda/ankura/milestones{/number}","notifications_url":"https://api.github.com/repos/nOkuda/ankura/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nOkuda/ankura/labels{/name}","releases_url":"https://api.github.com/repos/nOkuda/ankura/releases{/id}","created_at":"2015-09-17T16:25:21Z","updated_at":"2015-09-28T22:44:46Z","pushed_at":"2015-09-29T00:04:24Z","git_url":"git://github.com/nOkuda/ankura.git","ssh_url":"git@github.com:nOkuda/ankura.git","clone_url":"https://github.com/nOkuda/ankura.git","svn_url":"https://github.com/nOkuda/ankura","homepage":null,"size":2353,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jlund3:master","ref":"master","sha":"99510cf6cd057c3e4064191d0596362999daa73e","user":{"login":"jlund3","id":2959042,"avatar_url":"https://avatars.githubusercontent.com/u/2959042?v=3","gravatar_id":"","url":"https://api.github.com/users/jlund3","html_url":"https://github.com/jlund3","followers_url":"https://api.github.com/users/jlund3/followers","following_url":"https://api.github.com/users/jlund3/following{/other_user}","gists_url":"https://api.github.com/users/jlund3/gists{/gist_id}","starred_url":"https://api.github.com/users/jlund3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlund3/subscriptions","organizations_url":"https://api.github.com/users/jlund3/orgs","repos_url":"https://api.github.com/users/jlund3/repos","events_url":"https://api.github.com/users/jlund3/events{/privacy}","received_events_url":"https://api.github.com/users/jlund3/received_events","type":"User","site_admin":false},"repo":{"id":42327107,"name":"ankura","full_name":"jlund3/ankura","owner":{"login":"jlund3","id":2959042,"avatar_url":"https://avatars.githubusercontent.com/u/2959042?v=3","gravatar_id":"","url":"https://api.github.com/users/jlund3","html_url":"https://github.com/jlund3","followers_url":"https://api.github.com/users/jlund3/followers","following_url":"https://api.github.com/users/jlund3/following{/other_user}","gists_url":"https://api.github.com/users/jlund3/gists{/gist_id}","starred_url":"https://api.github.com/users/jlund3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlund3/subscriptions","organizations_url":"https://api.github.com/users/jlund3/orgs","repos_url":"https://api.github.com/users/jlund3/repos","events_url":"https://api.github.com/users/jlund3/events{/privacy}","received_events_url":"https://api.github.com/users/jlund3/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jlund3/ankura","description":"","fork":false,"url":"https://api.github.com/repos/jlund3/ankura","forks_url":"https://api.github.com/repos/jlund3/ankura/forks","keys_url":"https://api.github.com/repos/jlund3/ankura/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jlund3/ankura/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jlund3/ankura/teams","hooks_url":"https://api.github.com/repos/jlund3/ankura/hooks","issue_events_url":"https://api.github.com/repos/jlund3/ankura/issues/events{/number}","events_url":"https://api.github.com/repos/jlund3/ankura/events","assignees_url":"https://api.github.com/repos/jlund3/ankura/assignees{/user}","branches_url":"https://api.github.com/repos/jlund3/ankura/branches{/branch}","tags_url":"https://api.github.com/repos/jlund3/ankura/tags","blobs_url":"https://api.github.com/repos/jlund3/ankura/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jlund3/ankura/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jlund3/ankura/git/refs{/sha}","trees_url":"https://api.github.com/repos/jlund3/ankura/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jlund3/ankura/statuses/{sha}","languages_url":"https://api.github.com/repos/jlund3/ankura/languages","stargazers_url":"https://api.github.com/repos/jlund3/ankura/stargazers","contributors_url":"https://api.github.com/repos/jlund3/ankura/contributors","subscribers_url":"https://api.github.com/repos/jlund3/ankura/subscribers","subscription_url":"https://api.github.com/repos/jlund3/ankura/subscription","commits_url":"https://api.github.com/repos/jlund3/ankura/commits{/sha}","git_commits_url":"https://api.github.com/repos/jlund3/ankura/git/commits{/sha}","comments_url":"https://api.github.com/repos/jlund3/ankura/comments{/number}","issue_comment_url":"https://api.github.com/repos/jlund3/ankura/issues/comments{/number}","contents_url":"https://api.github.com/repos/jlund3/ankura/contents/{+path}","compare_url":"https://api.github.com/repos/jlund3/ankura/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jlund3/ankura/merges","archive_url":"https://api.github.com/repos/jlund3/ankura/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jlund3/ankura/downloads","issues_url":"https://api.github.com/repos/jlund3/ankura/issues{/number}","pulls_url":"https://api.github.com/repos/jlund3/ankura/pulls{/number}","milestones_url":"https://api.github.com/repos/jlund3/ankura/milestones{/number}","notifications_url":"https://api.github.com/repos/jlund3/ankura/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jlund3/ankura/labels{/name}","releases_url":"https://api.github.com/repos/jlund3/ankura/releases{/id}","created_at":"2015-09-11T19:04:28Z","updated_at":"2015-09-28T22:47:15Z","pushed_at":"2015-09-28T22:47:14Z","git_url":"git://github.com/jlund3/ankura.git","ssh_url":"git@github.com:jlund3/ankura.git","clone_url":"https://github.com/jlund3/ankura.git","svn_url":"https://github.com/jlund3/ankura","homepage":null,"size":2426,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jlund3/ankura/pulls/3"},"html":{"href":"https://github.com/jlund3/ankura/pull/3"},"issue":{"href":"https://api.github.com/repos/jlund3/ankura/issues/3"},"comments":{"href":"https://api.github.com/repos/jlund3/ankura/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/jlund3/ankura/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/jlund3/ankura/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jlund3/ankura/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/jlund3/ankura/statuses/094dc7ce97f1c31185d74db392e3ef2ea3d02f5d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":64,"deletions":92,"changed_files":5}}