{"action":"created","comment":{"url":"https://api.github.com/repos/shogun-toolbox/shogun/pulls/comments/59852015","id":59852015,"diff_hunk":"@@ -19,11 +19,15 @@\n %rename(DistanceMachine) CDistanceMachine;\n %rename(Hierarchical) CHierarchical;\n %rename(KMeans) CKMeans;\n+%rename(KMeansBase) CKMeansBase;","path":"src/interfaces/modular/Clustering.i","position":4,"original_position":4,"commit_id":"c7d9d71c9ec4aa37f67f7ed9180f3bad68dc6cb4","original_commit_id":"c7d9d71c9ec4aa37f67f7ed9180f3bad68dc6cb4","user":{"login":"karlnapf","id":699071,"avatar_url":"https://avatars.githubusercontent.com/u/699071?v=3","gravatar_id":"","url":"https://api.github.com/users/karlnapf","html_url":"https://github.com/karlnapf","followers_url":"https://api.github.com/users/karlnapf/followers","following_url":"https://api.github.com/users/karlnapf/following{/other_user}","gists_url":"https://api.github.com/users/karlnapf/gists{/gist_id}","starred_url":"https://api.github.com/users/karlnapf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlnapf/subscriptions","organizations_url":"https://api.github.com/users/karlnapf/orgs","repos_url":"https://api.github.com/users/karlnapf/repos","events_url":"https://api.github.com/users/karlnapf/events{/privacy}","received_events_url":"https://api.github.com/users/karlnapf/received_events","type":"User","site_admin":false},"body":"does the base class need to be exposed via swig?","created_at":"2016-04-15T09:54:04Z","updated_at":"2016-04-15T09:54:04Z","html_url":"https://github.com/shogun-toolbox/shogun/pull/3166#discussion_r59852015","pull_request_url":"https://api.github.com/repos/shogun-toolbox/shogun/pulls/3166","_links":{"self":{"href":"https://api.github.com/repos/shogun-toolbox/shogun/pulls/comments/59852015"},"html":{"href":"https://github.com/shogun-toolbox/shogun/pull/3166#discussion_r59852015"},"pull_request":{"href":"https://api.github.com/repos/shogun-toolbox/shogun/pulls/3166"}}},"pull_request":{"url":"https://api.github.com/repos/shogun-toolbox/shogun/pulls/3166","id":66504636,"html_url":"https://github.com/shogun-toolbox/shogun/pull/3166","diff_url":"https://github.com/shogun-toolbox/shogun/pull/3166.diff","patch_url":"https://github.com/shogun-toolbox/shogun/pull/3166.patch","issue_url":"https://api.github.com/repos/shogun-toolbox/shogun/issues/3166","number":3166,"state":"open","locked":false,"title":"refactor KMeans","user":{"login":"Saurabh7","id":4285091,"avatar_url":"https://avatars.githubusercontent.com/u/4285091?v=3","gravatar_id":"","url":"https://api.github.com/users/Saurabh7","html_url":"https://github.com/Saurabh7","followers_url":"https://api.github.com/users/Saurabh7/followers","following_url":"https://api.github.com/users/Saurabh7/following{/other_user}","gists_url":"https://api.github.com/users/Saurabh7/gists{/gist_id}","starred_url":"https://api.github.com/users/Saurabh7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Saurabh7/subscriptions","organizations_url":"https://api.github.com/users/Saurabh7/orgs","repos_url":"https://api.github.com/users/Saurabh7/repos","events_url":"https://api.github.com/users/Saurabh7/events{/privacy}","received_events_url":"https://api.github.com/users/Saurabh7/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-14T15:29:42Z","updated_at":"2016-04-15T09:54:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c359f7a8c194d6d602ebfbc287e8c69055fa9ebc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/shogun-toolbox/shogun/pulls/3166/commits","review_comments_url":"https://api.github.com/repos/shogun-toolbox/shogun/pulls/3166/comments","review_comment_url":"https://api.github.com/repos/shogun-toolbox/shogun/pulls/comments{/number}","comments_url":"https://api.github.com/repos/shogun-toolbox/shogun/issues/3166/comments","statuses_url":"https://api.github.com/repos/shogun-toolbox/shogun/statuses/c7d9d71c9ec4aa37f67f7ed9180f3bad68dc6cb4","head":{"label":"Saurabh7:kmeans_refactor","ref":"kmeans_refactor","sha":"c7d9d71c9ec4aa37f67f7ed9180f3bad68dc6cb4","user":{"login":"Saurabh7","id":4285091,"avatar_url":"https://avatars.githubusercontent.com/u/4285091?v=3","gravatar_id":"","url":"https://api.github.com/users/Saurabh7","html_url":"https://github.com/Saurabh7","followers_url":"https://api.github.com/users/Saurabh7/followers","following_url":"https://api.github.com/users/Saurabh7/following{/other_user}","gists_url":"https://api.github.com/users/Saurabh7/gists{/gist_id}","starred_url":"https://api.github.com/users/Saurabh7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Saurabh7/subscriptions","organizations_url":"https://api.github.com/users/Saurabh7/orgs","repos_url":"https://api.github.com/users/Saurabh7/repos","events_url":"https://api.github.com/users/Saurabh7/events{/privacy}","received_events_url":"https://api.github.com/users/Saurabh7/received_events","type":"User","site_admin":false},"repo":{"id":15224643,"name":"shogun","full_name":"Saurabh7/shogun","owner":{"login":"Saurabh7","id":4285091,"avatar_url":"https://avatars.githubusercontent.com/u/4285091?v=3","gravatar_id":"","url":"https://api.github.com/users/Saurabh7","html_url":"https://github.com/Saurabh7","followers_url":"https://api.github.com/users/Saurabh7/followers","following_url":"https://api.github.com/users/Saurabh7/following{/other_user}","gists_url":"https://api.github.com/users/Saurabh7/gists{/gist_id}","starred_url":"https://api.github.com/users/Saurabh7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Saurabh7/subscriptions","organizations_url":"https://api.github.com/users/Saurabh7/orgs","repos_url":"https://api.github.com/users/Saurabh7/repos","events_url":"https://api.github.com/users/Saurabh7/events{/privacy}","received_events_url":"https://api.github.com/users/Saurabh7/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Saurabh7/shogun","description":"The Shogun Machine Learning Toolbox (Source Code)","fork":true,"url":"https://api.github.com/repos/Saurabh7/shogun","forks_url":"https://api.github.com/repos/Saurabh7/shogun/forks","keys_url":"https://api.github.com/repos/Saurabh7/shogun/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Saurabh7/shogun/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Saurabh7/shogun/teams","hooks_url":"https://api.github.com/repos/Saurabh7/shogun/hooks","issue_events_url":"https://api.github.com/repos/Saurabh7/shogun/issues/events{/number}","events_url":"https://api.github.com/repos/Saurabh7/shogun/events","assignees_url":"https://api.github.com/repos/Saurabh7/shogun/assignees{/user}","branches_url":"https://api.github.com/repos/Saurabh7/shogun/branches{/branch}","tags_url":"https://api.github.com/repos/Saurabh7/shogun/tags","blobs_url":"https://api.github.com/repos/Saurabh7/shogun/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Saurabh7/shogun/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Saurabh7/shogun/git/refs{/sha}","trees_url":"https://api.github.com/repos/Saurabh7/shogun/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Saurabh7/shogun/statuses/{sha}","languages_url":"https://api.github.com/repos/Saurabh7/shogun/languages","stargazers_url":"https://api.github.com/repos/Saurabh7/shogun/stargazers","contributors_url":"https://api.github.com/repos/Saurabh7/shogun/contributors","subscribers_url":"https://api.github.com/repos/Saurabh7/shogun/subscribers","subscription_url":"https://api.github.com/repos/Saurabh7/shogun/subscription","commits_url":"https://api.github.com/repos/Saurabh7/shogun/commits{/sha}","git_commits_url":"https://api.github.com/repos/Saurabh7/shogun/git/commits{/sha}","comments_url":"https://api.github.com/repos/Saurabh7/shogun/comments{/number}","issue_comment_url":"https://api.github.com/repos/Saurabh7/shogun/issues/comments{/number}","contents_url":"https://api.github.com/repos/Saurabh7/shogun/contents/{+path}","compare_url":"https://api.github.com/repos/Saurabh7/shogun/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Saurabh7/shogun/merges","archive_url":"https://api.github.com/repos/Saurabh7/shogun/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Saurabh7/shogun/downloads","issues_url":"https://api.github.com/repos/Saurabh7/shogun/issues{/number}","pulls_url":"https://api.github.com/repos/Saurabh7/shogun/pulls{/number}","milestones_url":"https://api.github.com/repos/Saurabh7/shogun/milestones{/number}","notifications_url":"https://api.github.com/repos/Saurabh7/shogun/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Saurabh7/shogun/labels{/name}","releases_url":"https://api.github.com/repos/Saurabh7/shogun/releases{/id}","deployments_url":"https://api.github.com/repos/Saurabh7/shogun/deployments","created_at":"2013-12-16T11:57:34Z","updated_at":"2016-03-05T08:37:00Z","pushed_at":"2016-04-14T15:24:46Z","git_url":"git://github.com/Saurabh7/shogun.git","ssh_url":"git@github.com:Saurabh7/shogun.git","clone_url":"https://github.com/Saurabh7/shogun.git","svn_url":"https://github.com/Saurabh7/shogun","homepage":"http://www.shogun-toolbox.org","size":60707,"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":"shogun-toolbox:develop","ref":"develop","sha":"26b635f37f442cc2a01f133f6e3aef819caae67b","user":{"login":"shogun-toolbox","id":690673,"avatar_url":"https://avatars.githubusercontent.com/u/690673?v=3","gravatar_id":"","url":"https://api.github.com/users/shogun-toolbox","html_url":"https://github.com/shogun-toolbox","followers_url":"https://api.github.com/users/shogun-toolbox/followers","following_url":"https://api.github.com/users/shogun-toolbox/following{/other_user}","gists_url":"https://api.github.com/users/shogun-toolbox/gists{/gist_id}","starred_url":"https://api.github.com/users/shogun-toolbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shogun-toolbox/subscriptions","organizations_url":"https://api.github.com/users/shogun-toolbox/orgs","repos_url":"https://api.github.com/users/shogun-toolbox/repos","events_url":"https://api.github.com/users/shogun-toolbox/events{/privacy}","received_events_url":"https://api.github.com/users/shogun-toolbox/received_events","type":"Organization","site_admin":false},"repo":{"id":1555094,"name":"shogun","full_name":"shogun-toolbox/shogun","owner":{"login":"shogun-toolbox","id":690673,"avatar_url":"https://avatars.githubusercontent.com/u/690673?v=3","gravatar_id":"","url":"https://api.github.com/users/shogun-toolbox","html_url":"https://github.com/shogun-toolbox","followers_url":"https://api.github.com/users/shogun-toolbox/followers","following_url":"https://api.github.com/users/shogun-toolbox/following{/other_user}","gists_url":"https://api.github.com/users/shogun-toolbox/gists{/gist_id}","starred_url":"https://api.github.com/users/shogun-toolbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shogun-toolbox/subscriptions","organizations_url":"https://api.github.com/users/shogun-toolbox/orgs","repos_url":"https://api.github.com/users/shogun-toolbox/repos","events_url":"https://api.github.com/users/shogun-toolbox/events{/privacy}","received_events_url":"https://api.github.com/users/shogun-toolbox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/shogun-toolbox/shogun","description":"The Shogun Machine Learning Toolbox (Source Code)","fork":false,"url":"https://api.github.com/repos/shogun-toolbox/shogun","forks_url":"https://api.github.com/repos/shogun-toolbox/shogun/forks","keys_url":"https://api.github.com/repos/shogun-toolbox/shogun/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shogun-toolbox/shogun/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shogun-toolbox/shogun/teams","hooks_url":"https://api.github.com/repos/shogun-toolbox/shogun/hooks","issue_events_url":"https://api.github.com/repos/shogun-toolbox/shogun/issues/events{/number}","events_url":"https://api.github.com/repos/shogun-toolbox/shogun/events","assignees_url":"https://api.github.com/repos/shogun-toolbox/shogun/assignees{/user}","branches_url":"https://api.github.com/repos/shogun-toolbox/shogun/branches{/branch}","tags_url":"https://api.github.com/repos/shogun-toolbox/shogun/tags","blobs_url":"https://api.github.com/repos/shogun-toolbox/shogun/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shogun-toolbox/shogun/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shogun-toolbox/shogun/git/refs{/sha}","trees_url":"https://api.github.com/repos/shogun-toolbox/shogun/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shogun-toolbox/shogun/statuses/{sha}","languages_url":"https://api.github.com/repos/shogun-toolbox/shogun/languages","stargazers_url":"https://api.github.com/repos/shogun-toolbox/shogun/stargazers","contributors_url":"https://api.github.com/repos/shogun-toolbox/shogun/contributors","subscribers_url":"https://api.github.com/repos/shogun-toolbox/shogun/subscribers","subscription_url":"https://api.github.com/repos/shogun-toolbox/shogun/subscription","commits_url":"https://api.github.com/repos/shogun-toolbox/shogun/commits{/sha}","git_commits_url":"https://api.github.com/repos/shogun-toolbox/shogun/git/commits{/sha}","comments_url":"https://api.github.com/repos/shogun-toolbox/shogun/comments{/number}","issue_comment_url":"https://api.github.com/repos/shogun-toolbox/shogun/issues/comments{/number}","contents_url":"https://api.github.com/repos/shogun-toolbox/shogun/contents/{+path}","compare_url":"https://api.github.com/repos/shogun-toolbox/shogun/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shogun-toolbox/shogun/merges","archive_url":"https://api.github.com/repos/shogun-toolbox/shogun/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shogun-toolbox/shogun/downloads","issues_url":"https://api.github.com/repos/shogun-toolbox/shogun/issues{/number}","pulls_url":"https://api.github.com/repos/shogun-toolbox/shogun/pulls{/number}","milestones_url":"https://api.github.com/repos/shogun-toolbox/shogun/milestones{/number}","notifications_url":"https://api.github.com/repos/shogun-toolbox/shogun/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shogun-toolbox/shogun/labels{/name}","releases_url":"https://api.github.com/repos/shogun-toolbox/shogun/releases{/id}","deployments_url":"https://api.github.com/repos/shogun-toolbox/shogun/deployments","created_at":"2011-04-01T10:44:32Z","updated_at":"2016-04-14T13:33:02Z","pushed_at":"2016-04-15T04:42:13Z","git_url":"git://github.com/shogun-toolbox/shogun.git","ssh_url":"git@github.com:shogun-toolbox/shogun.git","clone_url":"https://github.com/shogun-toolbox/shogun.git","svn_url":"https://github.com/shogun-toolbox/shogun","homepage":"http://www.shogun-toolbox.org","size":191574,"stargazers_count":1032,"watchers_count":1032,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":558,"mirror_url":null,"open_issues_count":425,"forks":558,"open_issues":425,"watchers":1032,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/shogun-toolbox/shogun/pulls/3166"},"html":{"href":"https://github.com/shogun-toolbox/shogun/pull/3166"},"issue":{"href":"https://api.github.com/repos/shogun-toolbox/shogun/issues/3166"},"comments":{"href":"https://api.github.com/repos/shogun-toolbox/shogun/issues/3166/comments"},"review_comments":{"href":"https://api.github.com/repos/shogun-toolbox/shogun/pulls/3166/comments"},"review_comment":{"href":"https://api.github.com/repos/shogun-toolbox/shogun/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/shogun-toolbox/shogun/pulls/3166/commits"},"statuses":{"href":"https://api.github.com/repos/shogun-toolbox/shogun/statuses/c7d9d71c9ec4aa37f67f7ed9180f3bad68dc6cb4"}}}}