{"action":"created","comment":{"url":"https://api.github.com/repos/bigmlcom/clj-bigml/pulls/comments/49675640","id":49675640,"diff_hunk":"@@ -285,12 +286,42 @@ as a demonstration.\n We have perfect accuracy and a spotless confusion matrix.  But of\n course, never trust evaluations on training data.\n \n+### Clusters\n+\n+A [cluster](https://bigml.com/developers/clusters) is a set of groups\n+of instances of a dataset that have been automatically classified\n+together according to a distance measure computed using the fields of\n+the dataset. Cluster are used in unsupervised learning.","path":"readme.md","position":90,"original_position":90,"commit_id":"b2bc71fd80404d035c4e75b98bed3c538f4da0f5","original_commit_id":"b2bc71fd80404d035c4e75b98bed3c538f4da0f5","user":{"login":"ashenfad","id":535972,"avatar_url":"https://avatars.githubusercontent.com/u/535972?v=3","gravatar_id":"","url":"https://api.github.com/users/ashenfad","html_url":"https://github.com/ashenfad","followers_url":"https://api.github.com/users/ashenfad/followers","following_url":"https://api.github.com/users/ashenfad/following{/other_user}","gists_url":"https://api.github.com/users/ashenfad/gists{/gist_id}","starred_url":"https://api.github.com/users/ashenfad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashenfad/subscriptions","organizations_url":"https://api.github.com/users/ashenfad/orgs","repos_url":"https://api.github.com/users/ashenfad/repos","events_url":"https://api.github.com/users/ashenfad/events{/privacy}","received_events_url":"https://api.github.com/users/ashenfad/received_events","type":"User","site_admin":false},"body":"That line is a bit awkward.  Perhaps \"A clustering is an example of unsupervised learning.\"?","created_at":"2016-01-14T01:04:53Z","updated_at":"2016-01-14T01:04:53Z","html_url":"https://github.com/bigmlcom/clj-bigml/pull/6#discussion_r49675640","pull_request_url":"https://api.github.com/repos/bigmlcom/clj-bigml/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/bigmlcom/clj-bigml/pulls/comments/49675640"},"html":{"href":"https://github.com/bigmlcom/clj-bigml/pull/6#discussion_r49675640"},"pull_request":{"href":"https://api.github.com/repos/bigmlcom/clj-bigml/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/bigmlcom/clj-bigml/pulls/6","id":55394087,"html_url":"https://github.com/bigmlcom/clj-bigml/pull/6","diff_url":"https://github.com/bigmlcom/clj-bigml/pull/6.diff","patch_url":"https://github.com/bigmlcom/clj-bigml/pull/6.patch","issue_url":"https://api.github.com/repos/bigmlcom/clj-bigml/issues/6","number":6,"state":"open","locked":false,"title":"Add Cluster creation/list","user":{"login":"sdesimone","id":917131,"avatar_url":"https://avatars.githubusercontent.com/u/917131?v=3","gravatar_id":"","url":"https://api.github.com/users/sdesimone","html_url":"https://github.com/sdesimone","followers_url":"https://api.github.com/users/sdesimone/followers","following_url":"https://api.github.com/users/sdesimone/following{/other_user}","gists_url":"https://api.github.com/users/sdesimone/gists{/gist_id}","starred_url":"https://api.github.com/users/sdesimone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdesimone/subscriptions","organizations_url":"https://api.github.com/users/sdesimone/orgs","repos_url":"https://api.github.com/users/sdesimone/repos","events_url":"https://api.github.com/users/sdesimone/events{/privacy}","received_events_url":"https://api.github.com/users/sdesimone/received_events","type":"User","site_admin":false},"body":"This PR adds Cluster creation and listing, along the lines of already existing resources.\r\n\r\nTo reduce the amount of replicated code, it also introduces a new, generic `create` function and refactors existing resources' implementation to use it where appropriate.","created_at":"2016-01-07T21:41:07Z","updated_at":"2016-01-14T01:04:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f61a1c86a0f2f336e11ec56901eb2523f08cddbe","assignee":{"login":"ashenfad","id":535972,"avatar_url":"https://avatars.githubusercontent.com/u/535972?v=3","gravatar_id":"","url":"https://api.github.com/users/ashenfad","html_url":"https://github.com/ashenfad","followers_url":"https://api.github.com/users/ashenfad/followers","following_url":"https://api.github.com/users/ashenfad/following{/other_user}","gists_url":"https://api.github.com/users/ashenfad/gists{/gist_id}","starred_url":"https://api.github.com/users/ashenfad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashenfad/subscriptions","organizations_url":"https://api.github.com/users/ashenfad/orgs","repos_url":"https://api.github.com/users/ashenfad/repos","events_url":"https://api.github.com/users/ashenfad/events{/privacy}","received_events_url":"https://api.github.com/users/ashenfad/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/bigmlcom/clj-bigml/pulls/6/commits","review_comments_url":"https://api.github.com/repos/bigmlcom/clj-bigml/pulls/6/comments","review_comment_url":"https://api.github.com/repos/bigmlcom/clj-bigml/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bigmlcom/clj-bigml/issues/6/comments","statuses_url":"https://api.github.com/repos/bigmlcom/clj-bigml/statuses/b2bc71fd80404d035c4e75b98bed3c538f4da0f5","head":{"label":"sdesimone:master","ref":"master","sha":"b2bc71fd80404d035c4e75b98bed3c538f4da0f5","user":{"login":"sdesimone","id":917131,"avatar_url":"https://avatars.githubusercontent.com/u/917131?v=3","gravatar_id":"","url":"https://api.github.com/users/sdesimone","html_url":"https://github.com/sdesimone","followers_url":"https://api.github.com/users/sdesimone/followers","following_url":"https://api.github.com/users/sdesimone/following{/other_user}","gists_url":"https://api.github.com/users/sdesimone/gists{/gist_id}","starred_url":"https://api.github.com/users/sdesimone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdesimone/subscriptions","organizations_url":"https://api.github.com/users/sdesimone/orgs","repos_url":"https://api.github.com/users/sdesimone/repos","events_url":"https://api.github.com/users/sdesimone/events{/privacy}","received_events_url":"https://api.github.com/users/sdesimone/received_events","type":"User","site_admin":false},"repo":{"id":49133302,"name":"clj-bigml","full_name":"sdesimone/clj-bigml","owner":{"login":"sdesimone","id":917131,"avatar_url":"https://avatars.githubusercontent.com/u/917131?v=3","gravatar_id":"","url":"https://api.github.com/users/sdesimone","html_url":"https://github.com/sdesimone","followers_url":"https://api.github.com/users/sdesimone/followers","following_url":"https://api.github.com/users/sdesimone/following{/other_user}","gists_url":"https://api.github.com/users/sdesimone/gists{/gist_id}","starred_url":"https://api.github.com/users/sdesimone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdesimone/subscriptions","organizations_url":"https://api.github.com/users/sdesimone/orgs","repos_url":"https://api.github.com/users/sdesimone/repos","events_url":"https://api.github.com/users/sdesimone/events{/privacy}","received_events_url":"https://api.github.com/users/sdesimone/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sdesimone/clj-bigml","description":"Clojure bindings for the BigML.io API","fork":true,"url":"https://api.github.com/repos/sdesimone/clj-bigml","forks_url":"https://api.github.com/repos/sdesimone/clj-bigml/forks","keys_url":"https://api.github.com/repos/sdesimone/clj-bigml/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sdesimone/clj-bigml/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sdesimone/clj-bigml/teams","hooks_url":"https://api.github.com/repos/sdesimone/clj-bigml/hooks","issue_events_url":"https://api.github.com/repos/sdesimone/clj-bigml/issues/events{/number}","events_url":"https://api.github.com/repos/sdesimone/clj-bigml/events","assignees_url":"https://api.github.com/repos/sdesimone/clj-bigml/assignees{/user}","branches_url":"https://api.github.com/repos/sdesimone/clj-bigml/branches{/branch}","tags_url":"https://api.github.com/repos/sdesimone/clj-bigml/tags","blobs_url":"https://api.github.com/repos/sdesimone/clj-bigml/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sdesimone/clj-bigml/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sdesimone/clj-bigml/git/refs{/sha}","trees_url":"https://api.github.com/repos/sdesimone/clj-bigml/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sdesimone/clj-bigml/statuses/{sha}","languages_url":"https://api.github.com/repos/sdesimone/clj-bigml/languages","stargazers_url":"https://api.github.com/repos/sdesimone/clj-bigml/stargazers","contributors_url":"https://api.github.com/repos/sdesimone/clj-bigml/contributors","subscribers_url":"https://api.github.com/repos/sdesimone/clj-bigml/subscribers","subscription_url":"https://api.github.com/repos/sdesimone/clj-bigml/subscription","commits_url":"https://api.github.com/repos/sdesimone/clj-bigml/commits{/sha}","git_commits_url":"https://api.github.com/repos/sdesimone/clj-bigml/git/commits{/sha}","comments_url":"https://api.github.com/repos/sdesimone/clj-bigml/comments{/number}","issue_comment_url":"https://api.github.com/repos/sdesimone/clj-bigml/issues/comments{/number}","contents_url":"https://api.github.com/repos/sdesimone/clj-bigml/contents/{+path}","compare_url":"https://api.github.com/repos/sdesimone/clj-bigml/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sdesimone/clj-bigml/merges","archive_url":"https://api.github.com/repos/sdesimone/clj-bigml/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sdesimone/clj-bigml/downloads","issues_url":"https://api.github.com/repos/sdesimone/clj-bigml/issues{/number}","pulls_url":"https://api.github.com/repos/sdesimone/clj-bigml/pulls{/number}","milestones_url":"https://api.github.com/repos/sdesimone/clj-bigml/milestones{/number}","notifications_url":"https://api.github.com/repos/sdesimone/clj-bigml/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sdesimone/clj-bigml/labels{/name}","releases_url":"https://api.github.com/repos/sdesimone/clj-bigml/releases{/id}","created_at":"2016-01-06T12:17:22Z","updated_at":"2016-01-11T12:29:03Z","pushed_at":"2016-01-11T12:32:49Z","git_url":"git://github.com/sdesimone/clj-bigml.git","ssh_url":"git@github.com:sdesimone/clj-bigml.git","clone_url":"https://github.com/sdesimone/clj-bigml.git","svn_url":"https://github.com/sdesimone/clj-bigml","homepage":"","size":55,"stargazers_count":0,"watchers_count":0,"language":"Clojure","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"bigmlcom:master","ref":"master","sha":"6fb40f6e56a93133662b913b5d213fb48fab79ae","user":{"login":"bigmlcom","id":702185,"avatar_url":"https://avatars.githubusercontent.com/u/702185?v=3","gravatar_id":"","url":"https://api.github.com/users/bigmlcom","html_url":"https://github.com/bigmlcom","followers_url":"https://api.github.com/users/bigmlcom/followers","following_url":"https://api.github.com/users/bigmlcom/following{/other_user}","gists_url":"https://api.github.com/users/bigmlcom/gists{/gist_id}","starred_url":"https://api.github.com/users/bigmlcom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bigmlcom/subscriptions","organizations_url":"https://api.github.com/users/bigmlcom/orgs","repos_url":"https://api.github.com/users/bigmlcom/repos","events_url":"https://api.github.com/users/bigmlcom/events{/privacy}","received_events_url":"https://api.github.com/users/bigmlcom/received_events","type":"Organization","site_admin":false},"repo":{"id":4382014,"name":"clj-bigml","full_name":"bigmlcom/clj-bigml","owner":{"login":"bigmlcom","id":702185,"avatar_url":"https://avatars.githubusercontent.com/u/702185?v=3","gravatar_id":"","url":"https://api.github.com/users/bigmlcom","html_url":"https://github.com/bigmlcom","followers_url":"https://api.github.com/users/bigmlcom/followers","following_url":"https://api.github.com/users/bigmlcom/following{/other_user}","gists_url":"https://api.github.com/users/bigmlcom/gists{/gist_id}","starred_url":"https://api.github.com/users/bigmlcom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bigmlcom/subscriptions","organizations_url":"https://api.github.com/users/bigmlcom/orgs","repos_url":"https://api.github.com/users/bigmlcom/repos","events_url":"https://api.github.com/users/bigmlcom/events{/privacy}","received_events_url":"https://api.github.com/users/bigmlcom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bigmlcom/clj-bigml","description":"Clojure bindings for the BigML.io API","fork":false,"url":"https://api.github.com/repos/bigmlcom/clj-bigml","forks_url":"https://api.github.com/repos/bigmlcom/clj-bigml/forks","keys_url":"https://api.github.com/repos/bigmlcom/clj-bigml/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bigmlcom/clj-bigml/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bigmlcom/clj-bigml/teams","hooks_url":"https://api.github.com/repos/bigmlcom/clj-bigml/hooks","issue_events_url":"https://api.github.com/repos/bigmlcom/clj-bigml/issues/events{/number}","events_url":"https://api.github.com/repos/bigmlcom/clj-bigml/events","assignees_url":"https://api.github.com/repos/bigmlcom/clj-bigml/assignees{/user}","branches_url":"https://api.github.com/repos/bigmlcom/clj-bigml/branches{/branch}","tags_url":"https://api.github.com/repos/bigmlcom/clj-bigml/tags","blobs_url":"https://api.github.com/repos/bigmlcom/clj-bigml/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bigmlcom/clj-bigml/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bigmlcom/clj-bigml/git/refs{/sha}","trees_url":"https://api.github.com/repos/bigmlcom/clj-bigml/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bigmlcom/clj-bigml/statuses/{sha}","languages_url":"https://api.github.com/repos/bigmlcom/clj-bigml/languages","stargazers_url":"https://api.github.com/repos/bigmlcom/clj-bigml/stargazers","contributors_url":"https://api.github.com/repos/bigmlcom/clj-bigml/contributors","subscribers_url":"https://api.github.com/repos/bigmlcom/clj-bigml/subscribers","subscription_url":"https://api.github.com/repos/bigmlcom/clj-bigml/subscription","commits_url":"https://api.github.com/repos/bigmlcom/clj-bigml/commits{/sha}","git_commits_url":"https://api.github.com/repos/bigmlcom/clj-bigml/git/commits{/sha}","comments_url":"https://api.github.com/repos/bigmlcom/clj-bigml/comments{/number}","issue_comment_url":"https://api.github.com/repos/bigmlcom/clj-bigml/issues/comments{/number}","contents_url":"https://api.github.com/repos/bigmlcom/clj-bigml/contents/{+path}","compare_url":"https://api.github.com/repos/bigmlcom/clj-bigml/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bigmlcom/clj-bigml/merges","archive_url":"https://api.github.com/repos/bigmlcom/clj-bigml/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bigmlcom/clj-bigml/downloads","issues_url":"https://api.github.com/repos/bigmlcom/clj-bigml/issues{/number}","pulls_url":"https://api.github.com/repos/bigmlcom/clj-bigml/pulls{/number}","milestones_url":"https://api.github.com/repos/bigmlcom/clj-bigml/milestones{/number}","notifications_url":"https://api.github.com/repos/bigmlcom/clj-bigml/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bigmlcom/clj-bigml/labels{/name}","releases_url":"https://api.github.com/repos/bigmlcom/clj-bigml/releases{/id}","created_at":"2012-05-20T01:24:32Z","updated_at":"2016-01-09T08:35:37Z","pushed_at":"2016-01-11T12:32:49Z","git_url":"git://github.com/bigmlcom/clj-bigml.git","ssh_url":"git@github.com:bigmlcom/clj-bigml.git","clone_url":"https://github.com/bigmlcom/clj-bigml.git","svn_url":"https://github.com/bigmlcom/clj-bigml","homepage":"","size":168,"stargazers_count":41,"watchers_count":41,"language":"Clojure","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":2,"forks":10,"open_issues":2,"watchers":41,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bigmlcom/clj-bigml/pulls/6"},"html":{"href":"https://github.com/bigmlcom/clj-bigml/pull/6"},"issue":{"href":"https://api.github.com/repos/bigmlcom/clj-bigml/issues/6"},"comments":{"href":"https://api.github.com/repos/bigmlcom/clj-bigml/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/bigmlcom/clj-bigml/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/bigmlcom/clj-bigml/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bigmlcom/clj-bigml/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/bigmlcom/clj-bigml/statuses/b2bc71fd80404d035c4e75b98bed3c538f4da0f5"}}}}