{"action":"opened","number":4,"pull_request":{"url":"https://api.github.com/repos/rinuboney/clatern/pulls/4","id":40387220,"html_url":"https://github.com/rinuboney/clatern/pull/4","diff_url":"https://github.com/rinuboney/clatern/pull/4.diff","patch_url":"https://github.com/rinuboney/clatern/pull/4.patch","issue_url":"https://api.github.com/repos/rinuboney/clatern/issues/4","number":4,"state":"open","locked":false,"title":"Make intercept calculation optional in Linear Regression.  Add test and precondition","user":{"login":"rnowling","id":1114888,"avatar_url":"https://avatars.githubusercontent.com/u/1114888?v=3","gravatar_id":"","url":"https://api.github.com/users/rnowling","html_url":"https://github.com/rnowling","followers_url":"https://api.github.com/users/rnowling/followers","following_url":"https://api.github.com/users/rnowling/following{/other_user}","gists_url":"https://api.github.com/users/rnowling/gists{/gist_id}","starred_url":"https://api.github.com/users/rnowling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rnowling/subscriptions","organizations_url":"https://api.github.com/users/rnowling/orgs","repos_url":"https://api.github.com/users/rnowling/repos","events_url":"https://api.github.com/users/rnowling/events{/privacy}","received_events_url":"https://api.github.com/users/rnowling/received_events","type":"User","site_admin":false},"body":"Following the approach used in scikit-learn, I made the calculation of the intercept optional in the Linear Regression.  I added a test covering both cases and a precondition that verifies that we have enough vectors.","created_at":"2015-07-20T19:21:05Z","updated_at":"2015-07-20T19:21:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rinuboney/clatern/pulls/4/commits","review_comments_url":"https://api.github.com/repos/rinuboney/clatern/pulls/4/comments","review_comment_url":"https://api.github.com/repos/rinuboney/clatern/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rinuboney/clatern/issues/4/comments","statuses_url":"https://api.github.com/repos/rinuboney/clatern/statuses/16e823ec52912522fde91340c5f3dfa4926aa21a","head":{"label":"rnowling:lin-reg-intercept","ref":"lin-reg-intercept","sha":"16e823ec52912522fde91340c5f3dfa4926aa21a","user":{"login":"rnowling","id":1114888,"avatar_url":"https://avatars.githubusercontent.com/u/1114888?v=3","gravatar_id":"","url":"https://api.github.com/users/rnowling","html_url":"https://github.com/rnowling","followers_url":"https://api.github.com/users/rnowling/followers","following_url":"https://api.github.com/users/rnowling/following{/other_user}","gists_url":"https://api.github.com/users/rnowling/gists{/gist_id}","starred_url":"https://api.github.com/users/rnowling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rnowling/subscriptions","organizations_url":"https://api.github.com/users/rnowling/orgs","repos_url":"https://api.github.com/users/rnowling/repos","events_url":"https://api.github.com/users/rnowling/events{/privacy}","received_events_url":"https://api.github.com/users/rnowling/received_events","type":"User","site_admin":false},"repo":{"id":39301528,"name":"clatern","full_name":"rnowling/clatern","owner":{"login":"rnowling","id":1114888,"avatar_url":"https://avatars.githubusercontent.com/u/1114888?v=3","gravatar_id":"","url":"https://api.github.com/users/rnowling","html_url":"https://github.com/rnowling","followers_url":"https://api.github.com/users/rnowling/followers","following_url":"https://api.github.com/users/rnowling/following{/other_user}","gists_url":"https://api.github.com/users/rnowling/gists{/gist_id}","starred_url":"https://api.github.com/users/rnowling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rnowling/subscriptions","organizations_url":"https://api.github.com/users/rnowling/orgs","repos_url":"https://api.github.com/users/rnowling/repos","events_url":"https://api.github.com/users/rnowling/events{/privacy}","received_events_url":"https://api.github.com/users/rnowling/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rnowling/clatern","description":"Machine Learning in Clojure","fork":true,"url":"https://api.github.com/repos/rnowling/clatern","forks_url":"https://api.github.com/repos/rnowling/clatern/forks","keys_url":"https://api.github.com/repos/rnowling/clatern/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rnowling/clatern/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rnowling/clatern/teams","hooks_url":"https://api.github.com/repos/rnowling/clatern/hooks","issue_events_url":"https://api.github.com/repos/rnowling/clatern/issues/events{/number}","events_url":"https://api.github.com/repos/rnowling/clatern/events","assignees_url":"https://api.github.com/repos/rnowling/clatern/assignees{/user}","branches_url":"https://api.github.com/repos/rnowling/clatern/branches{/branch}","tags_url":"https://api.github.com/repos/rnowling/clatern/tags","blobs_url":"https://api.github.com/repos/rnowling/clatern/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rnowling/clatern/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rnowling/clatern/git/refs{/sha}","trees_url":"https://api.github.com/repos/rnowling/clatern/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rnowling/clatern/statuses/{sha}","languages_url":"https://api.github.com/repos/rnowling/clatern/languages","stargazers_url":"https://api.github.com/repos/rnowling/clatern/stargazers","contributors_url":"https://api.github.com/repos/rnowling/clatern/contributors","subscribers_url":"https://api.github.com/repos/rnowling/clatern/subscribers","subscription_url":"https://api.github.com/repos/rnowling/clatern/subscription","commits_url":"https://api.github.com/repos/rnowling/clatern/commits{/sha}","git_commits_url":"https://api.github.com/repos/rnowling/clatern/git/commits{/sha}","comments_url":"https://api.github.com/repos/rnowling/clatern/comments{/number}","issue_comment_url":"https://api.github.com/repos/rnowling/clatern/issues/comments{/number}","contents_url":"https://api.github.com/repos/rnowling/clatern/contents/{+path}","compare_url":"https://api.github.com/repos/rnowling/clatern/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rnowling/clatern/merges","archive_url":"https://api.github.com/repos/rnowling/clatern/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rnowling/clatern/downloads","issues_url":"https://api.github.com/repos/rnowling/clatern/issues{/number}","pulls_url":"https://api.github.com/repos/rnowling/clatern/pulls{/number}","milestones_url":"https://api.github.com/repos/rnowling/clatern/milestones{/number}","notifications_url":"https://api.github.com/repos/rnowling/clatern/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rnowling/clatern/labels{/name}","releases_url":"https://api.github.com/repos/rnowling/clatern/releases{/id}","created_at":"2015-07-18T14:49:19Z","updated_at":"2015-07-18T14:49:23Z","pushed_at":"2015-07-20T19:17:36Z","git_url":"git://github.com/rnowling/clatern.git","ssh_url":"git@github.com:rnowling/clatern.git","clone_url":"https://github.com/rnowling/clatern.git","svn_url":"https://github.com/rnowling/clatern","homepage":"","size":106,"stargazers_count":0,"watchers_count":0,"language":"Clojure","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":"rinuboney:master","ref":"master","sha":"b9464b2a4750f29ea107af062249e6423ecbf5a6","user":{"login":"rinuboney","id":1678100,"avatar_url":"https://avatars.githubusercontent.com/u/1678100?v=3","gravatar_id":"","url":"https://api.github.com/users/rinuboney","html_url":"https://github.com/rinuboney","followers_url":"https://api.github.com/users/rinuboney/followers","following_url":"https://api.github.com/users/rinuboney/following{/other_user}","gists_url":"https://api.github.com/users/rinuboney/gists{/gist_id}","starred_url":"https://api.github.com/users/rinuboney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rinuboney/subscriptions","organizations_url":"https://api.github.com/users/rinuboney/orgs","repos_url":"https://api.github.com/users/rinuboney/repos","events_url":"https://api.github.com/users/rinuboney/events{/privacy}","received_events_url":"https://api.github.com/users/rinuboney/received_events","type":"User","site_admin":false},"repo":{"id":23734299,"name":"clatern","full_name":"rinuboney/clatern","owner":{"login":"rinuboney","id":1678100,"avatar_url":"https://avatars.githubusercontent.com/u/1678100?v=3","gravatar_id":"","url":"https://api.github.com/users/rinuboney","html_url":"https://github.com/rinuboney","followers_url":"https://api.github.com/users/rinuboney/followers","following_url":"https://api.github.com/users/rinuboney/following{/other_user}","gists_url":"https://api.github.com/users/rinuboney/gists{/gist_id}","starred_url":"https://api.github.com/users/rinuboney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rinuboney/subscriptions","organizations_url":"https://api.github.com/users/rinuboney/orgs","repos_url":"https://api.github.com/users/rinuboney/repos","events_url":"https://api.github.com/users/rinuboney/events{/privacy}","received_events_url":"https://api.github.com/users/rinuboney/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rinuboney/clatern","description":"Machine Learning in Clojure","fork":false,"url":"https://api.github.com/repos/rinuboney/clatern","forks_url":"https://api.github.com/repos/rinuboney/clatern/forks","keys_url":"https://api.github.com/repos/rinuboney/clatern/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rinuboney/clatern/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rinuboney/clatern/teams","hooks_url":"https://api.github.com/repos/rinuboney/clatern/hooks","issue_events_url":"https://api.github.com/repos/rinuboney/clatern/issues/events{/number}","events_url":"https://api.github.com/repos/rinuboney/clatern/events","assignees_url":"https://api.github.com/repos/rinuboney/clatern/assignees{/user}","branches_url":"https://api.github.com/repos/rinuboney/clatern/branches{/branch}","tags_url":"https://api.github.com/repos/rinuboney/clatern/tags","blobs_url":"https://api.github.com/repos/rinuboney/clatern/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rinuboney/clatern/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rinuboney/clatern/git/refs{/sha}","trees_url":"https://api.github.com/repos/rinuboney/clatern/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rinuboney/clatern/statuses/{sha}","languages_url":"https://api.github.com/repos/rinuboney/clatern/languages","stargazers_url":"https://api.github.com/repos/rinuboney/clatern/stargazers","contributors_url":"https://api.github.com/repos/rinuboney/clatern/contributors","subscribers_url":"https://api.github.com/repos/rinuboney/clatern/subscribers","subscription_url":"https://api.github.com/repos/rinuboney/clatern/subscription","commits_url":"https://api.github.com/repos/rinuboney/clatern/commits{/sha}","git_commits_url":"https://api.github.com/repos/rinuboney/clatern/git/commits{/sha}","comments_url":"https://api.github.com/repos/rinuboney/clatern/comments{/number}","issue_comment_url":"https://api.github.com/repos/rinuboney/clatern/issues/comments{/number}","contents_url":"https://api.github.com/repos/rinuboney/clatern/contents/{+path}","compare_url":"https://api.github.com/repos/rinuboney/clatern/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rinuboney/clatern/merges","archive_url":"https://api.github.com/repos/rinuboney/clatern/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rinuboney/clatern/downloads","issues_url":"https://api.github.com/repos/rinuboney/clatern/issues{/number}","pulls_url":"https://api.github.com/repos/rinuboney/clatern/pulls{/number}","milestones_url":"https://api.github.com/repos/rinuboney/clatern/milestones{/number}","notifications_url":"https://api.github.com/repos/rinuboney/clatern/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rinuboney/clatern/labels{/name}","releases_url":"https://api.github.com/repos/rinuboney/clatern/releases{/id}","created_at":"2014-09-06T12:40:52Z","updated_at":"2015-07-18T03:25:04Z","pushed_at":"2015-07-20T11:40:33Z","git_url":"git://github.com/rinuboney/clatern.git","ssh_url":"git@github.com:rinuboney/clatern.git","clone_url":"https://github.com/rinuboney/clatern.git","svn_url":"https://github.com/rinuboney/clatern","homepage":"","size":233,"stargazers_count":48,"watchers_count":48,"language":"Clojure","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":3,"forks":4,"open_issues":3,"watchers":48,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rinuboney/clatern/pulls/4"},"html":{"href":"https://github.com/rinuboney/clatern/pull/4"},"issue":{"href":"https://api.github.com/repos/rinuboney/clatern/issues/4"},"comments":{"href":"https://api.github.com/repos/rinuboney/clatern/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/rinuboney/clatern/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/rinuboney/clatern/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rinuboney/clatern/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/rinuboney/clatern/statuses/16e823ec52912522fde91340c5f3dfa4926aa21a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":79,"deletions":14,"changed_files":2}}