{"action":"created","comment":{"url":"https://api.github.com/repos/johnnychhsu/python-mldb/pulls/comments/241953335","pull_request_review_id":185358867,"id":241953335,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MTk1MzMzNQ==","diff_hunk":"@@ -15,10 +17,33 @@ def show_model(self):\n         pass\n \n     def reference(self, model_name, model_type):\n+        \n         pass\n \n \n-class ClassifierFunction(object):\n+class ClassifierFunction(Function):\n \n-    def __init__(self):\n-        super(ClassifierFunction, self).__init__(Function)\n+    def __init__(self, query_handler, dataset):\n+        super(ClassifierFunction, self).__init__(query_handler, dataset)\n+\n+class RFClassifierFunction(ClassifierFunction):\n+\n+    def __init__(self, query_handler, dataset):\n+        super(RFClassifierFunction, self).__init__(query_handler, dataset)\n+        self.table_name = 'RF_Model'\n+\n+    def show_model(self):\n+        _show_model()","path":"python_mldb/Function.py","position":32,"original_position":32,"commit_id":"f2eb8d4b9e13bb0acd8d020ca5192db4d709c5ac","original_commit_id":"f2eb8d4b9e13bb0acd8d020ca5192db4d709c5ac","user":{"login":"johnnychhsu","id":44309740,"node_id":"MDQ6VXNlcjQ0MzA5NzQw","avatar_url":"https://avatars1.githubusercontent.com/u/44309740?v=4","gravatar_id":"","url":"https://api.github.com/users/johnnychhsu","html_url":"https://github.com/johnnychhsu","followers_url":"https://api.github.com/users/johnnychhsu/followers","following_url":"https://api.github.com/users/johnnychhsu/following{/other_user}","gists_url":"https://api.github.com/users/johnnychhsu/gists{/gist_id}","starred_url":"https://api.github.com/users/johnnychhsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnnychhsu/subscriptions","organizations_url":"https://api.github.com/users/johnnychhsu/orgs","repos_url":"https://api.github.com/users/johnnychhsu/repos","events_url":"https://api.github.com/users/johnnychhsu/events{/privacy}","received_events_url":"https://api.github.com/users/johnnychhsu/received_events","type":"User","site_admin":false},"body":"這裡應該是self._show_model()\r\n跟你說一下哪邊不對～這邊我直接修掉囉","created_at":"2018-12-15T15:52:27Z","updated_at":"2018-12-15T15:52:27Z","html_url":"https://github.com/johnnychhsu/python-mldb/pull/24#discussion_r241953335","pull_request_url":"https://api.github.com/repos/johnnychhsu/python-mldb/pulls/24","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/johnnychhsu/python-mldb/pulls/comments/241953335"},"html":{"href":"https://github.com/johnnychhsu/python-mldb/pull/24#discussion_r241953335"},"pull_request":{"href":"https://api.github.com/repos/johnnychhsu/python-mldb/pulls/24"}}},"pull_request":{"url":"https://api.github.com/repos/johnnychhsu/python-mldb/pulls/24","id":238916525,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM4OTE2NTI1","html_url":"https://github.com/johnnychhsu/python-mldb/pull/24","diff_url":"https://github.com/johnnychhsu/python-mldb/pull/24.diff","patch_url":"https://github.com/johnnychhsu/python-mldb/pull/24.patch","issue_url":"https://api.github.com/repos/johnnychhsu/python-mldb/issues/24","number":24,"state":"open","locked":false,"title":"Function","user":{"login":"sposusu","id":25928596,"node_id":"MDQ6VXNlcjI1OTI4NTk2","avatar_url":"https://avatars3.githubusercontent.com/u/25928596?v=4","gravatar_id":"","url":"https://api.github.com/users/sposusu","html_url":"https://github.com/sposusu","followers_url":"https://api.github.com/users/sposusu/followers","following_url":"https://api.github.com/users/sposusu/following{/other_user}","gists_url":"https://api.github.com/users/sposusu/gists{/gist_id}","starred_url":"https://api.github.com/users/sposusu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sposusu/subscriptions","organizations_url":"https://api.github.com/users/sposusu/orgs","repos_url":"https://api.github.com/users/sposusu/repos","events_url":"https://api.github.com/users/sposusu/events{/privacy}","received_events_url":"https://api.github.com/users/sposusu/received_events","type":"User","site_admin":false},"body":"add Random Forest Show_model","created_at":"2018-12-15T15:17:43Z","updated_at":"2018-12-15T15:52:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"77ec1cdd8a759dbe0f68ac2d08a2a44d749adc30","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/johnnychhsu/python-mldb/pulls/24/commits","review_comments_url":"https://api.github.com/repos/johnnychhsu/python-mldb/pulls/24/comments","review_comment_url":"https://api.github.com/repos/johnnychhsu/python-mldb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/johnnychhsu/python-mldb/issues/24/comments","statuses_url":"https://api.github.com/repos/johnnychhsu/python-mldb/statuses/f2eb8d4b9e13bb0acd8d020ca5192db4d709c5ac","head":{"label":"johnnychhsu:function","ref":"function","sha":"f2eb8d4b9e13bb0acd8d020ca5192db4d709c5ac","user":{"login":"johnnychhsu","id":44309740,"node_id":"MDQ6VXNlcjQ0MzA5NzQw","avatar_url":"https://avatars1.githubusercontent.com/u/44309740?v=4","gravatar_id":"","url":"https://api.github.com/users/johnnychhsu","html_url":"https://github.com/johnnychhsu","followers_url":"https://api.github.com/users/johnnychhsu/followers","following_url":"https://api.github.com/users/johnnychhsu/following{/other_user}","gists_url":"https://api.github.com/users/johnnychhsu/gists{/gist_id}","starred_url":"https://api.github.com/users/johnnychhsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnnychhsu/subscriptions","organizations_url":"https://api.github.com/users/johnnychhsu/orgs","repos_url":"https://api.github.com/users/johnnychhsu/repos","events_url":"https://api.github.com/users/johnnychhsu/events{/privacy}","received_events_url":"https://api.github.com/users/johnnychhsu/received_events","type":"User","site_admin":false},"repo":{"id":161058566,"node_id":"MDEwOlJlcG9zaXRvcnkxNjEwNTg1NjY=","name":"python-mldb","full_name":"johnnychhsu/python-mldb","private":false,"owner":{"login":"johnnychhsu","id":44309740,"node_id":"MDQ6VXNlcjQ0MzA5NzQw","avatar_url":"https://avatars1.githubusercontent.com/u/44309740?v=4","gravatar_id":"","url":"https://api.github.com/users/johnnychhsu","html_url":"https://github.com/johnnychhsu","followers_url":"https://api.github.com/users/johnnychhsu/followers","following_url":"https://api.github.com/users/johnnychhsu/following{/other_user}","gists_url":"https://api.github.com/users/johnnychhsu/gists{/gist_id}","starred_url":"https://api.github.com/users/johnnychhsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnnychhsu/subscriptions","organizations_url":"https://api.github.com/users/johnnychhsu/orgs","repos_url":"https://api.github.com/users/johnnychhsu/repos","events_url":"https://api.github.com/users/johnnychhsu/events{/privacy}","received_events_url":"https://api.github.com/users/johnnychhsu/received_events","type":"User","site_admin":false},"html_url":"https://github.com/johnnychhsu/python-mldb","description":"Machine Learning with Database","fork":false,"url":"https://api.github.com/repos/johnnychhsu/python-mldb","forks_url":"https://api.github.com/repos/johnnychhsu/python-mldb/forks","keys_url":"https://api.github.com/repos/johnnychhsu/python-mldb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/johnnychhsu/python-mldb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/johnnychhsu/python-mldb/teams","hooks_url":"https://api.github.com/repos/johnnychhsu/python-mldb/hooks","issue_events_url":"https://api.github.com/repos/johnnychhsu/python-mldb/issues/events{/number}","events_url":"https://api.github.com/repos/johnnychhsu/python-mldb/events","assignees_url":"https://api.github.com/repos/johnnychhsu/python-mldb/assignees{/user}","branches_url":"https://api.github.com/repos/johnnychhsu/python-mldb/branches{/branch}","tags_url":"https://api.github.com/repos/johnnychhsu/python-mldb/tags","blobs_url":"https://api.github.com/repos/johnnychhsu/python-mldb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/johnnychhsu/python-mldb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/johnnychhsu/python-mldb/git/refs{/sha}","trees_url":"https://api.github.com/repos/johnnychhsu/python-mldb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/johnnychhsu/python-mldb/statuses/{sha}","languages_url":"https://api.github.com/repos/johnnychhsu/python-mldb/languages","stargazers_url":"https://api.github.com/repos/johnnychhsu/python-mldb/stargazers","contributors_url":"https://api.github.com/repos/johnnychhsu/python-mldb/contributors","subscribers_url":"https://api.github.com/repos/johnnychhsu/python-mldb/subscribers","subscription_url":"https://api.github.com/repos/johnnychhsu/python-mldb/subscription","commits_url":"https://api.github.com/repos/johnnychhsu/python-mldb/commits{/sha}","git_commits_url":"https://api.github.com/repos/johnnychhsu/python-mldb/git/commits{/sha}","comments_url":"https://api.github.com/repos/johnnychhsu/python-mldb/comments{/number}","issue_comment_url":"https://api.github.com/repos/johnnychhsu/python-mldb/issues/comments{/number}","contents_url":"https://api.github.com/repos/johnnychhsu/python-mldb/contents/{+path}","compare_url":"https://api.github.com/repos/johnnychhsu/python-mldb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/johnnychhsu/python-mldb/merges","archive_url":"https://api.github.com/repos/johnnychhsu/python-mldb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/johnnychhsu/python-mldb/downloads","issues_url":"https://api.github.com/repos/johnnychhsu/python-mldb/issues{/number}","pulls_url":"https://api.github.com/repos/johnnychhsu/python-mldb/pulls{/number}","milestones_url":"https://api.github.com/repos/johnnychhsu/python-mldb/milestones{/number}","notifications_url":"https://api.github.com/repos/johnnychhsu/python-mldb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/johnnychhsu/python-mldb/labels{/name}","releases_url":"https://api.github.com/repos/johnnychhsu/python-mldb/releases{/id}","deployments_url":"https://api.github.com/repos/johnnychhsu/python-mldb/deployments","created_at":"2018-12-09T16:26:13Z","updated_at":"2018-12-14T08:59:33Z","pushed_at":"2018-12-15T15:41:12Z","git_url":"git://github.com/johnnychhsu/python-mldb.git","ssh_url":"git@github.com:johnnychhsu/python-mldb.git","clone_url":"https://github.com/johnnychhsu/python-mldb.git","svn_url":"https://github.com/johnnychhsu/python-mldb","homepage":null,"size":98,"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":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"johnnychhsu:master","ref":"master","sha":"7ec06292700f242d029796e6980a1bbbed3a075c","user":{"login":"johnnychhsu","id":44309740,"node_id":"MDQ6VXNlcjQ0MzA5NzQw","avatar_url":"https://avatars1.githubusercontent.com/u/44309740?v=4","gravatar_id":"","url":"https://api.github.com/users/johnnychhsu","html_url":"https://github.com/johnnychhsu","followers_url":"https://api.github.com/users/johnnychhsu/followers","following_url":"https://api.github.com/users/johnnychhsu/following{/other_user}","gists_url":"https://api.github.com/users/johnnychhsu/gists{/gist_id}","starred_url":"https://api.github.com/users/johnnychhsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnnychhsu/subscriptions","organizations_url":"https://api.github.com/users/johnnychhsu/orgs","repos_url":"https://api.github.com/users/johnnychhsu/repos","events_url":"https://api.github.com/users/johnnychhsu/events{/privacy}","received_events_url":"https://api.github.com/users/johnnychhsu/received_events","type":"User","site_admin":false},"repo":{"id":161058566,"node_id":"MDEwOlJlcG9zaXRvcnkxNjEwNTg1NjY=","name":"python-mldb","full_name":"johnnychhsu/python-mldb","private":false,"owner":{"login":"johnnychhsu","id":44309740,"node_id":"MDQ6VXNlcjQ0MzA5NzQw","avatar_url":"https://avatars1.githubusercontent.com/u/44309740?v=4","gravatar_id":"","url":"https://api.github.com/users/johnnychhsu","html_url":"https://github.com/johnnychhsu","followers_url":"https://api.github.com/users/johnnychhsu/followers","following_url":"https://api.github.com/users/johnnychhsu/following{/other_user}","gists_url":"https://api.github.com/users/johnnychhsu/gists{/gist_id}","starred_url":"https://api.github.com/users/johnnychhsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnnychhsu/subscriptions","organizations_url":"https://api.github.com/users/johnnychhsu/orgs","repos_url":"https://api.github.com/users/johnnychhsu/repos","events_url":"https://api.github.com/users/johnnychhsu/events{/privacy}","received_events_url":"https://api.github.com/users/johnnychhsu/received_events","type":"User","site_admin":false},"html_url":"https://github.com/johnnychhsu/python-mldb","description":"Machine Learning with Database","fork":false,"url":"https://api.github.com/repos/johnnychhsu/python-mldb","forks_url":"https://api.github.com/repos/johnnychhsu/python-mldb/forks","keys_url":"https://api.github.com/repos/johnnychhsu/python-mldb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/johnnychhsu/python-mldb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/johnnychhsu/python-mldb/teams","hooks_url":"https://api.github.com/repos/johnnychhsu/python-mldb/hooks","issue_events_url":"https://api.github.com/repos/johnnychhsu/python-mldb/issues/events{/number}","events_url":"https://api.github.com/repos/johnnychhsu/python-mldb/events","assignees_url":"https://api.github.com/repos/johnnychhsu/python-mldb/assignees{/user}","branches_url":"https://api.github.com/repos/johnnychhsu/python-mldb/branches{/branch}","tags_url":"https://api.github.com/repos/johnnychhsu/python-mldb/tags","blobs_url":"https://api.github.com/repos/johnnychhsu/python-mldb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/johnnychhsu/python-mldb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/johnnychhsu/python-mldb/git/refs{/sha}","trees_url":"https://api.github.com/repos/johnnychhsu/python-mldb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/johnnychhsu/python-mldb/statuses/{sha}","languages_url":"https://api.github.com/repos/johnnychhsu/python-mldb/languages","stargazers_url":"https://api.github.com/repos/johnnychhsu/python-mldb/stargazers","contributors_url":"https://api.github.com/repos/johnnychhsu/python-mldb/contributors","subscribers_url":"https://api.github.com/repos/johnnychhsu/python-mldb/subscribers","subscription_url":"https://api.github.com/repos/johnnychhsu/python-mldb/subscription","commits_url":"https://api.github.com/repos/johnnychhsu/python-mldb/commits{/sha}","git_commits_url":"https://api.github.com/repos/johnnychhsu/python-mldb/git/commits{/sha}","comments_url":"https://api.github.com/repos/johnnychhsu/python-mldb/comments{/number}","issue_comment_url":"https://api.github.com/repos/johnnychhsu/python-mldb/issues/comments{/number}","contents_url":"https://api.github.com/repos/johnnychhsu/python-mldb/contents/{+path}","compare_url":"https://api.github.com/repos/johnnychhsu/python-mldb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/johnnychhsu/python-mldb/merges","archive_url":"https://api.github.com/repos/johnnychhsu/python-mldb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/johnnychhsu/python-mldb/downloads","issues_url":"https://api.github.com/repos/johnnychhsu/python-mldb/issues{/number}","pulls_url":"https://api.github.com/repos/johnnychhsu/python-mldb/pulls{/number}","milestones_url":"https://api.github.com/repos/johnnychhsu/python-mldb/milestones{/number}","notifications_url":"https://api.github.com/repos/johnnychhsu/python-mldb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/johnnychhsu/python-mldb/labels{/name}","releases_url":"https://api.github.com/repos/johnnychhsu/python-mldb/releases{/id}","deployments_url":"https://api.github.com/repos/johnnychhsu/python-mldb/deployments","created_at":"2018-12-09T16:26:13Z","updated_at":"2018-12-14T08:59:33Z","pushed_at":"2018-12-15T15:41:12Z","git_url":"git://github.com/johnnychhsu/python-mldb.git","ssh_url":"git@github.com:johnnychhsu/python-mldb.git","clone_url":"https://github.com/johnnychhsu/python-mldb.git","svn_url":"https://github.com/johnnychhsu/python-mldb","homepage":null,"size":98,"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":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/johnnychhsu/python-mldb/pulls/24"},"html":{"href":"https://github.com/johnnychhsu/python-mldb/pull/24"},"issue":{"href":"https://api.github.com/repos/johnnychhsu/python-mldb/issues/24"},"comments":{"href":"https://api.github.com/repos/johnnychhsu/python-mldb/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/johnnychhsu/python-mldb/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/johnnychhsu/python-mldb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/johnnychhsu/python-mldb/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/johnnychhsu/python-mldb/statuses/f2eb8d4b9e13bb0acd8d020ca5192db4d709c5ac"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"johnnychhsu"}}