{"action":"created","comment":{"url":"https://api.github.com/repos/byubrg/FDA-Sampling/pulls/comments/226161520","pull_request_review_id":165916487,"id":226161520,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNjE2MTUyMA==","diff_hunk":"@@ -0,0 +1,40 @@\n+import sklearn","path":"parameter_optimization/randomforest.py","position":1,"original_position":1,"commit_id":"db6caae6d46f24d151c0484be85be9f34bfa74a0","original_commit_id":"db6caae6d46f24d151c0484be85be9f34bfa74a0","user":{"login":"MSBradshaw","id":20016538,"node_id":"MDQ6VXNlcjIwMDE2NTM4","avatar_url":"https://avatars3.githubusercontent.com/u/20016538?v=4","gravatar_id":"","url":"https://api.github.com/users/MSBradshaw","html_url":"https://github.com/MSBradshaw","followers_url":"https://api.github.com/users/MSBradshaw/followers","following_url":"https://api.github.com/users/MSBradshaw/following{/other_user}","gists_url":"https://api.github.com/users/MSBradshaw/gists{/gist_id}","starred_url":"https://api.github.com/users/MSBradshaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MSBradshaw/subscriptions","organizations_url":"https://api.github.com/users/MSBradshaw/orgs","repos_url":"https://api.github.com/users/MSBradshaw/repos","events_url":"https://api.github.com/users/MSBradshaw/events{/privacy}","received_events_url":"https://api.github.com/users/MSBradshaw/received_events","type":"User","site_admin":false},"body":"instead of importing all of sklearn (which is a ton), just import the parts you need, like you do in the lines below","created_at":"2018-10-18T03:52:48Z","updated_at":"2018-10-18T03:59:38Z","html_url":"https://github.com/byubrg/FDA-Sampling/pull/19#discussion_r226161520","pull_request_url":"https://api.github.com/repos/byubrg/FDA-Sampling/pulls/19","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/byubrg/FDA-Sampling/pulls/comments/226161520"},"html":{"href":"https://github.com/byubrg/FDA-Sampling/pull/19#discussion_r226161520"},"pull_request":{"href":"https://api.github.com/repos/byubrg/FDA-Sampling/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/byubrg/FDA-Sampling/pulls/19","id":223777004,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIzNzc3MDA0","html_url":"https://github.com/byubrg/FDA-Sampling/pull/19","diff_url":"https://github.com/byubrg/FDA-Sampling/pull/19.diff","patch_url":"https://github.com/byubrg/FDA-Sampling/pull/19.patch","issue_url":"https://api.github.com/repos/byubrg/FDA-Sampling/issues/19","number":19,"state":"open","locked":false,"title":"Add parameter optimization for random forests with grid search","user":{"login":"LukeSagers","id":37602149,"node_id":"MDQ6VXNlcjM3NjAyMTQ5","avatar_url":"https://avatars2.githubusercontent.com/u/37602149?v=4","gravatar_id":"","url":"https://api.github.com/users/LukeSagers","html_url":"https://github.com/LukeSagers","followers_url":"https://api.github.com/users/LukeSagers/followers","following_url":"https://api.github.com/users/LukeSagers/following{/other_user}","gists_url":"https://api.github.com/users/LukeSagers/gists{/gist_id}","starred_url":"https://api.github.com/users/LukeSagers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LukeSagers/subscriptions","organizations_url":"https://api.github.com/users/LukeSagers/orgs","repos_url":"https://api.github.com/users/LukeSagers/repos","events_url":"https://api.github.com/users/LukeSagers/events{/privacy}","received_events_url":"https://api.github.com/users/LukeSagers/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-17T22:51:25Z","updated_at":"2018-10-18T03:59:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d08765b6a6d148a90e1fd427fd443b929e8cb9bc","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/byubrg/FDA-Sampling/pulls/19/commits","review_comments_url":"https://api.github.com/repos/byubrg/FDA-Sampling/pulls/19/comments","review_comment_url":"https://api.github.com/repos/byubrg/FDA-Sampling/pulls/comments{/number}","comments_url":"https://api.github.com/repos/byubrg/FDA-Sampling/issues/19/comments","statuses_url":"https://api.github.com/repos/byubrg/FDA-Sampling/statuses/db6caae6d46f24d151c0484be85be9f34bfa74a0","head":{"label":"byubrg:rf-param-optimize","ref":"rf-param-optimize","sha":"db6caae6d46f24d151c0484be85be9f34bfa74a0","user":{"login":"byubrg","id":20668165,"node_id":"MDQ6VXNlcjIwNjY4MTY1","avatar_url":"https://avatars2.githubusercontent.com/u/20668165?v=4","gravatar_id":"","url":"https://api.github.com/users/byubrg","html_url":"https://github.com/byubrg","followers_url":"https://api.github.com/users/byubrg/followers","following_url":"https://api.github.com/users/byubrg/following{/other_user}","gists_url":"https://api.github.com/users/byubrg/gists{/gist_id}","starred_url":"https://api.github.com/users/byubrg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/byubrg/subscriptions","organizations_url":"https://api.github.com/users/byubrg/orgs","repos_url":"https://api.github.com/users/byubrg/repos","events_url":"https://api.github.com/users/byubrg/events{/privacy}","received_events_url":"https://api.github.com/users/byubrg/received_events","type":"User","site_admin":false},"repo":{"id":150496732,"node_id":"MDEwOlJlcG9zaXRvcnkxNTA0OTY3MzI=","name":"FDA-Sampling","full_name":"byubrg/FDA-Sampling","private":false,"owner":{"login":"byubrg","id":20668165,"node_id":"MDQ6VXNlcjIwNjY4MTY1","avatar_url":"https://avatars2.githubusercontent.com/u/20668165?v=4","gravatar_id":"","url":"https://api.github.com/users/byubrg","html_url":"https://github.com/byubrg","followers_url":"https://api.github.com/users/byubrg/followers","following_url":"https://api.github.com/users/byubrg/following{/other_user}","gists_url":"https://api.github.com/users/byubrg/gists{/gist_id}","starred_url":"https://api.github.com/users/byubrg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/byubrg/subscriptions","organizations_url":"https://api.github.com/users/byubrg/orgs","repos_url":"https://api.github.com/users/byubrg/repos","events_url":"https://api.github.com/users/byubrg/events{/privacy}","received_events_url":"https://api.github.com/users/byubrg/received_events","type":"User","site_admin":false},"html_url":"https://github.com/byubrg/FDA-Sampling","description":"https://precision.fda.gov/challenges/4","fork":false,"url":"https://api.github.com/repos/byubrg/FDA-Sampling","forks_url":"https://api.github.com/repos/byubrg/FDA-Sampling/forks","keys_url":"https://api.github.com/repos/byubrg/FDA-Sampling/keys{/key_id}","collaborators_url":"https://api.github.com/repos/byubrg/FDA-Sampling/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/byubrg/FDA-Sampling/teams","hooks_url":"https://api.github.com/repos/byubrg/FDA-Sampling/hooks","issue_events_url":"https://api.github.com/repos/byubrg/FDA-Sampling/issues/events{/number}","events_url":"https://api.github.com/repos/byubrg/FDA-Sampling/events","assignees_url":"https://api.github.com/repos/byubrg/FDA-Sampling/assignees{/user}","branches_url":"https://api.github.com/repos/byubrg/FDA-Sampling/branches{/branch}","tags_url":"https://api.github.com/repos/byubrg/FDA-Sampling/tags","blobs_url":"https://api.github.com/repos/byubrg/FDA-Sampling/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/byubrg/FDA-Sampling/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/byubrg/FDA-Sampling/git/refs{/sha}","trees_url":"https://api.github.com/repos/byubrg/FDA-Sampling/git/trees{/sha}","statuses_url":"https://api.github.com/repos/byubrg/FDA-Sampling/statuses/{sha}","languages_url":"https://api.github.com/repos/byubrg/FDA-Sampling/languages","stargazers_url":"https://api.github.com/repos/byubrg/FDA-Sampling/stargazers","contributors_url":"https://api.github.com/repos/byubrg/FDA-Sampling/contributors","subscribers_url":"https://api.github.com/repos/byubrg/FDA-Sampling/subscribers","subscription_url":"https://api.github.com/repos/byubrg/FDA-Sampling/subscription","commits_url":"https://api.github.com/repos/byubrg/FDA-Sampling/commits{/sha}","git_commits_url":"https://api.github.com/repos/byubrg/FDA-Sampling/git/commits{/sha}","comments_url":"https://api.github.com/repos/byubrg/FDA-Sampling/comments{/number}","issue_comment_url":"https://api.github.com/repos/byubrg/FDA-Sampling/issues/comments{/number}","contents_url":"https://api.github.com/repos/byubrg/FDA-Sampling/contents/{+path}","compare_url":"https://api.github.com/repos/byubrg/FDA-Sampling/compare/{base}...{head}","merges_url":"https://api.github.com/repos/byubrg/FDA-Sampling/merges","archive_url":"https://api.github.com/repos/byubrg/FDA-Sampling/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/byubrg/FDA-Sampling/downloads","issues_url":"https://api.github.com/repos/byubrg/FDA-Sampling/issues{/number}","pulls_url":"https://api.github.com/repos/byubrg/FDA-Sampling/pulls{/number}","milestones_url":"https://api.github.com/repos/byubrg/FDA-Sampling/milestones{/number}","notifications_url":"https://api.github.com/repos/byubrg/FDA-Sampling/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/byubrg/FDA-Sampling/labels{/name}","releases_url":"https://api.github.com/repos/byubrg/FDA-Sampling/releases{/id}","deployments_url":"https://api.github.com/repos/byubrg/FDA-Sampling/deployments","created_at":"2018-09-26T22:20:15Z","updated_at":"2018-10-17T22:39:36Z","pushed_at":"2018-10-17T23:51:22Z","git_url":"git://github.com/byubrg/FDA-Sampling.git","ssh_url":"git@github.com:byubrg/FDA-Sampling.git","clone_url":"https://github.com/byubrg/FDA-Sampling.git","svn_url":"https://github.com/byubrg/FDA-Sampling","homepage":null,"size":8295,"stargazers_count":3,"watchers_count":3,"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":3,"license":null,"forks":0,"open_issues":3,"watchers":3,"default_branch":"master"}},"base":{"label":"byubrg:master","ref":"master","sha":"ac1227c22bed44dd81508ffc141e659f6a306e3a","user":{"login":"byubrg","id":20668165,"node_id":"MDQ6VXNlcjIwNjY4MTY1","avatar_url":"https://avatars2.githubusercontent.com/u/20668165?v=4","gravatar_id":"","url":"https://api.github.com/users/byubrg","html_url":"https://github.com/byubrg","followers_url":"https://api.github.com/users/byubrg/followers","following_url":"https://api.github.com/users/byubrg/following{/other_user}","gists_url":"https://api.github.com/users/byubrg/gists{/gist_id}","starred_url":"https://api.github.com/users/byubrg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/byubrg/subscriptions","organizations_url":"https://api.github.com/users/byubrg/orgs","repos_url":"https://api.github.com/users/byubrg/repos","events_url":"https://api.github.com/users/byubrg/events{/privacy}","received_events_url":"https://api.github.com/users/byubrg/received_events","type":"User","site_admin":false},"repo":{"id":150496732,"node_id":"MDEwOlJlcG9zaXRvcnkxNTA0OTY3MzI=","name":"FDA-Sampling","full_name":"byubrg/FDA-Sampling","private":false,"owner":{"login":"byubrg","id":20668165,"node_id":"MDQ6VXNlcjIwNjY4MTY1","avatar_url":"https://avatars2.githubusercontent.com/u/20668165?v=4","gravatar_id":"","url":"https://api.github.com/users/byubrg","html_url":"https://github.com/byubrg","followers_url":"https://api.github.com/users/byubrg/followers","following_url":"https://api.github.com/users/byubrg/following{/other_user}","gists_url":"https://api.github.com/users/byubrg/gists{/gist_id}","starred_url":"https://api.github.com/users/byubrg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/byubrg/subscriptions","organizations_url":"https://api.github.com/users/byubrg/orgs","repos_url":"https://api.github.com/users/byubrg/repos","events_url":"https://api.github.com/users/byubrg/events{/privacy}","received_events_url":"https://api.github.com/users/byubrg/received_events","type":"User","site_admin":false},"html_url":"https://github.com/byubrg/FDA-Sampling","description":"https://precision.fda.gov/challenges/4","fork":false,"url":"https://api.github.com/repos/byubrg/FDA-Sampling","forks_url":"https://api.github.com/repos/byubrg/FDA-Sampling/forks","keys_url":"https://api.github.com/repos/byubrg/FDA-Sampling/keys{/key_id}","collaborators_url":"https://api.github.com/repos/byubrg/FDA-Sampling/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/byubrg/FDA-Sampling/teams","hooks_url":"https://api.github.com/repos/byubrg/FDA-Sampling/hooks","issue_events_url":"https://api.github.com/repos/byubrg/FDA-Sampling/issues/events{/number}","events_url":"https://api.github.com/repos/byubrg/FDA-Sampling/events","assignees_url":"https://api.github.com/repos/byubrg/FDA-Sampling/assignees{/user}","branches_url":"https://api.github.com/repos/byubrg/FDA-Sampling/branches{/branch}","tags_url":"https://api.github.com/repos/byubrg/FDA-Sampling/tags","blobs_url":"https://api.github.com/repos/byubrg/FDA-Sampling/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/byubrg/FDA-Sampling/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/byubrg/FDA-Sampling/git/refs{/sha}","trees_url":"https://api.github.com/repos/byubrg/FDA-Sampling/git/trees{/sha}","statuses_url":"https://api.github.com/repos/byubrg/FDA-Sampling/statuses/{sha}","languages_url":"https://api.github.com/repos/byubrg/FDA-Sampling/languages","stargazers_url":"https://api.github.com/repos/byubrg/FDA-Sampling/stargazers","contributors_url":"https://api.github.com/repos/byubrg/FDA-Sampling/contributors","subscribers_url":"https://api.github.com/repos/byubrg/FDA-Sampling/subscribers","subscription_url":"https://api.github.com/repos/byubrg/FDA-Sampling/subscription","commits_url":"https://api.github.com/repos/byubrg/FDA-Sampling/commits{/sha}","git_commits_url":"https://api.github.com/repos/byubrg/FDA-Sampling/git/commits{/sha}","comments_url":"https://api.github.com/repos/byubrg/FDA-Sampling/comments{/number}","issue_comment_url":"https://api.github.com/repos/byubrg/FDA-Sampling/issues/comments{/number}","contents_url":"https://api.github.com/repos/byubrg/FDA-Sampling/contents/{+path}","compare_url":"https://api.github.com/repos/byubrg/FDA-Sampling/compare/{base}...{head}","merges_url":"https://api.github.com/repos/byubrg/FDA-Sampling/merges","archive_url":"https://api.github.com/repos/byubrg/FDA-Sampling/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/byubrg/FDA-Sampling/downloads","issues_url":"https://api.github.com/repos/byubrg/FDA-Sampling/issues{/number}","pulls_url":"https://api.github.com/repos/byubrg/FDA-Sampling/pulls{/number}","milestones_url":"https://api.github.com/repos/byubrg/FDA-Sampling/milestones{/number}","notifications_url":"https://api.github.com/repos/byubrg/FDA-Sampling/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/byubrg/FDA-Sampling/labels{/name}","releases_url":"https://api.github.com/repos/byubrg/FDA-Sampling/releases{/id}","deployments_url":"https://api.github.com/repos/byubrg/FDA-Sampling/deployments","created_at":"2018-09-26T22:20:15Z","updated_at":"2018-10-17T22:39:36Z","pushed_at":"2018-10-17T23:51:22Z","git_url":"git://github.com/byubrg/FDA-Sampling.git","ssh_url":"git@github.com:byubrg/FDA-Sampling.git","clone_url":"https://github.com/byubrg/FDA-Sampling.git","svn_url":"https://github.com/byubrg/FDA-Sampling","homepage":null,"size":8295,"stargazers_count":3,"watchers_count":3,"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":3,"license":null,"forks":0,"open_issues":3,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/byubrg/FDA-Sampling/pulls/19"},"html":{"href":"https://github.com/byubrg/FDA-Sampling/pull/19"},"issue":{"href":"https://api.github.com/repos/byubrg/FDA-Sampling/issues/19"},"comments":{"href":"https://api.github.com/repos/byubrg/FDA-Sampling/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/byubrg/FDA-Sampling/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/byubrg/FDA-Sampling/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/byubrg/FDA-Sampling/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/byubrg/FDA-Sampling/statuses/db6caae6d46f24d151c0484be85be9f34bfa74a0"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"MSBradshaw"}}