{"action":"created","comment":{"url":"https://api.github.com/repos/biolab/orange3/pulls/comments/35517609","id":35517609,"diff_hunk":"@@ -14,6 +14,10 @@ class LinearRegressionLearner(SklLearner):\n     __wraps__ = skl_linear_model.LinearRegression\n     name = 'linreg'\n \n+    def __init__(self, preprocessors=None):\n+        super().__init__(preprocessors=preprocessors)\n+        self.params = vars()","path":"Orange/regression/linear.py","position":6,"original_position":6,"commit_id":"e4d00b218f0b4f1a66d014063d7138207b4fc7ba","original_commit_id":"e4d00b218f0b4f1a66d014063d7138207b4fc7ba","user":{"login":"lanzagar","id":4579717,"avatar_url":"https://avatars.githubusercontent.com/u/4579717?v=3","gravatar_id":"","url":"https://api.github.com/users/lanzagar","html_url":"https://github.com/lanzagar","followers_url":"https://api.github.com/users/lanzagar/followers","following_url":"https://api.github.com/users/lanzagar/following{/other_user}","gists_url":"https://api.github.com/users/lanzagar/gists{/gist_id}","starred_url":"https://api.github.com/users/lanzagar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lanzagar/subscriptions","organizations_url":"https://api.github.com/users/lanzagar/orgs","repos_url":"https://api.github.com/users/lanzagar/repos","events_url":"https://api.github.com/users/lanzagar/events{/privacy}","received_events_url":"https://api.github.com/users/lanzagar/received_events","type":"User","site_admin":false},"body":"This learner does not have any scikit-learn parameters so this line is unnecessary.","created_at":"2015-07-27T09:12:49Z","updated_at":"2015-07-27T09:12:49Z","html_url":"https://github.com/biolab/orange3/pull/541#discussion_r35517609","pull_request_url":"https://api.github.com/repos/biolab/orange3/pulls/541","_links":{"self":{"href":"https://api.github.com/repos/biolab/orange3/pulls/comments/35517609"},"html":{"href":"https://github.com/biolab/orange3/pull/541#discussion_r35517609"},"pull_request":{"href":"https://api.github.com/repos/biolab/orange3/pulls/541"}}},"pull_request":{"url":"https://api.github.com/repos/biolab/orange3/pulls/541","id":40883061,"html_url":"https://github.com/biolab/orange3/pull/541","diff_url":"https://github.com/biolab/orange3/pull/541.diff","patch_url":"https://github.com/biolab/orange3/pull/541.patch","issue_url":"https://api.github.com/repos/biolab/orange3/issues/541","number":541,"state":"open","locked":false,"title":"Preprocessors argument in linear regression.","user":{"login":"acopar","id":8665160,"avatar_url":"https://avatars.githubusercontent.com/u/8665160?v=3","gravatar_id":"","url":"https://api.github.com/users/acopar","html_url":"https://github.com/acopar","followers_url":"https://api.github.com/users/acopar/followers","following_url":"https://api.github.com/users/acopar/following{/other_user}","gists_url":"https://api.github.com/users/acopar/gists{/gist_id}","starred_url":"https://api.github.com/users/acopar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acopar/subscriptions","organizations_url":"https://api.github.com/users/acopar/orgs","repos_url":"https://api.github.com/users/acopar/repos","events_url":"https://api.github.com/users/acopar/events{/privacy}","received_events_url":"https://api.github.com/users/acopar/received_events","type":"User","site_admin":false},"body":"Add missing preprocessors argument in linear regression learners.","created_at":"2015-07-27T09:06:43Z","updated_at":"2015-07-27T09:12:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6a3eaf43ae7c5f6467efedb599a82e32475e5a98","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/biolab/orange3/pulls/541/commits","review_comments_url":"https://api.github.com/repos/biolab/orange3/pulls/541/comments","review_comment_url":"https://api.github.com/repos/biolab/orange3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/biolab/orange3/issues/541/comments","statuses_url":"https://api.github.com/repos/biolab/orange3/statuses/e4d00b218f0b4f1a66d014063d7138207b4fc7ba","head":{"label":"acopar:linreg-parameters","ref":"linreg-parameters","sha":"e4d00b218f0b4f1a66d014063d7138207b4fc7ba","user":{"login":"acopar","id":8665160,"avatar_url":"https://avatars.githubusercontent.com/u/8665160?v=3","gravatar_id":"","url":"https://api.github.com/users/acopar","html_url":"https://github.com/acopar","followers_url":"https://api.github.com/users/acopar/followers","following_url":"https://api.github.com/users/acopar/following{/other_user}","gists_url":"https://api.github.com/users/acopar/gists{/gist_id}","starred_url":"https://api.github.com/users/acopar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acopar/subscriptions","organizations_url":"https://api.github.com/users/acopar/orgs","repos_url":"https://api.github.com/users/acopar/repos","events_url":"https://api.github.com/users/acopar/events{/privacy}","received_events_url":"https://api.github.com/users/acopar/received_events","type":"User","site_admin":false},"repo":{"id":27929476,"name":"orange3","full_name":"acopar/orange3","owner":{"login":"acopar","id":8665160,"avatar_url":"https://avatars.githubusercontent.com/u/8665160?v=3","gravatar_id":"","url":"https://api.github.com/users/acopar","html_url":"https://github.com/acopar","followers_url":"https://api.github.com/users/acopar/followers","following_url":"https://api.github.com/users/acopar/following{/other_user}","gists_url":"https://api.github.com/users/acopar/gists{/gist_id}","starred_url":"https://api.github.com/users/acopar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acopar/subscriptions","organizations_url":"https://api.github.com/users/acopar/orgs","repos_url":"https://api.github.com/users/acopar/repos","events_url":"https://api.github.com/users/acopar/events{/privacy}","received_events_url":"https://api.github.com/users/acopar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/acopar/orange3","description":"","fork":true,"url":"https://api.github.com/repos/acopar/orange3","forks_url":"https://api.github.com/repos/acopar/orange3/forks","keys_url":"https://api.github.com/repos/acopar/orange3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/acopar/orange3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/acopar/orange3/teams","hooks_url":"https://api.github.com/repos/acopar/orange3/hooks","issue_events_url":"https://api.github.com/repos/acopar/orange3/issues/events{/number}","events_url":"https://api.github.com/repos/acopar/orange3/events","assignees_url":"https://api.github.com/repos/acopar/orange3/assignees{/user}","branches_url":"https://api.github.com/repos/acopar/orange3/branches{/branch}","tags_url":"https://api.github.com/repos/acopar/orange3/tags","blobs_url":"https://api.github.com/repos/acopar/orange3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/acopar/orange3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/acopar/orange3/git/refs{/sha}","trees_url":"https://api.github.com/repos/acopar/orange3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/acopar/orange3/statuses/{sha}","languages_url":"https://api.github.com/repos/acopar/orange3/languages","stargazers_url":"https://api.github.com/repos/acopar/orange3/stargazers","contributors_url":"https://api.github.com/repos/acopar/orange3/contributors","subscribers_url":"https://api.github.com/repos/acopar/orange3/subscribers","subscription_url":"https://api.github.com/repos/acopar/orange3/subscription","commits_url":"https://api.github.com/repos/acopar/orange3/commits{/sha}","git_commits_url":"https://api.github.com/repos/acopar/orange3/git/commits{/sha}","comments_url":"https://api.github.com/repos/acopar/orange3/comments{/number}","issue_comment_url":"https://api.github.com/repos/acopar/orange3/issues/comments{/number}","contents_url":"https://api.github.com/repos/acopar/orange3/contents/{+path}","compare_url":"https://api.github.com/repos/acopar/orange3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/acopar/orange3/merges","archive_url":"https://api.github.com/repos/acopar/orange3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/acopar/orange3/downloads","issues_url":"https://api.github.com/repos/acopar/orange3/issues{/number}","pulls_url":"https://api.github.com/repos/acopar/orange3/pulls{/number}","milestones_url":"https://api.github.com/repos/acopar/orange3/milestones{/number}","notifications_url":"https://api.github.com/repos/acopar/orange3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/acopar/orange3/labels{/name}","releases_url":"https://api.github.com/repos/acopar/orange3/releases{/id}","created_at":"2014-12-12T16:59:23Z","updated_at":"2015-02-11T10:08:24Z","pushed_at":"2015-07-27T08:45:26Z","git_url":"git://github.com/acopar/orange3.git","ssh_url":"git@github.com:acopar/orange3.git","clone_url":"https://github.com/acopar/orange3.git","svn_url":"https://github.com/acopar/orange3","homepage":null,"size":7428,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"biolab:master","ref":"master","sha":"03ac9cd30ba13cb3b940703c47deaaba3acbb416","user":{"login":"biolab","id":555189,"avatar_url":"https://avatars.githubusercontent.com/u/555189?v=3","gravatar_id":"","url":"https://api.github.com/users/biolab","html_url":"https://github.com/biolab","followers_url":"https://api.github.com/users/biolab/followers","following_url":"https://api.github.com/users/biolab/following{/other_user}","gists_url":"https://api.github.com/users/biolab/gists{/gist_id}","starred_url":"https://api.github.com/users/biolab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biolab/subscriptions","organizations_url":"https://api.github.com/users/biolab/orgs","repos_url":"https://api.github.com/users/biolab/repos","events_url":"https://api.github.com/users/biolab/events{/privacy}","received_events_url":"https://api.github.com/users/biolab/received_events","type":"Organization","site_admin":false},"repo":{"id":8357227,"name":"orange3","full_name":"biolab/orange3","owner":{"login":"biolab","id":555189,"avatar_url":"https://avatars.githubusercontent.com/u/555189?v=3","gravatar_id":"","url":"https://api.github.com/users/biolab","html_url":"https://github.com/biolab","followers_url":"https://api.github.com/users/biolab/followers","following_url":"https://api.github.com/users/biolab/following{/other_user}","gists_url":"https://api.github.com/users/biolab/gists{/gist_id}","starred_url":"https://api.github.com/users/biolab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biolab/subscriptions","organizations_url":"https://api.github.com/users/biolab/orgs","repos_url":"https://api.github.com/users/biolab/repos","events_url":"https://api.github.com/users/biolab/events{/privacy}","received_events_url":"https://api.github.com/users/biolab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/biolab/orange3","description":"","fork":false,"url":"https://api.github.com/repos/biolab/orange3","forks_url":"https://api.github.com/repos/biolab/orange3/forks","keys_url":"https://api.github.com/repos/biolab/orange3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/biolab/orange3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/biolab/orange3/teams","hooks_url":"https://api.github.com/repos/biolab/orange3/hooks","issue_events_url":"https://api.github.com/repos/biolab/orange3/issues/events{/number}","events_url":"https://api.github.com/repos/biolab/orange3/events","assignees_url":"https://api.github.com/repos/biolab/orange3/assignees{/user}","branches_url":"https://api.github.com/repos/biolab/orange3/branches{/branch}","tags_url":"https://api.github.com/repos/biolab/orange3/tags","blobs_url":"https://api.github.com/repos/biolab/orange3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/biolab/orange3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/biolab/orange3/git/refs{/sha}","trees_url":"https://api.github.com/repos/biolab/orange3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/biolab/orange3/statuses/{sha}","languages_url":"https://api.github.com/repos/biolab/orange3/languages","stargazers_url":"https://api.github.com/repos/biolab/orange3/stargazers","contributors_url":"https://api.github.com/repos/biolab/orange3/contributors","subscribers_url":"https://api.github.com/repos/biolab/orange3/subscribers","subscription_url":"https://api.github.com/repos/biolab/orange3/subscription","commits_url":"https://api.github.com/repos/biolab/orange3/commits{/sha}","git_commits_url":"https://api.github.com/repos/biolab/orange3/git/commits{/sha}","comments_url":"https://api.github.com/repos/biolab/orange3/comments{/number}","issue_comment_url":"https://api.github.com/repos/biolab/orange3/issues/comments{/number}","contents_url":"https://api.github.com/repos/biolab/orange3/contents/{+path}","compare_url":"https://api.github.com/repos/biolab/orange3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/biolab/orange3/merges","archive_url":"https://api.github.com/repos/biolab/orange3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/biolab/orange3/downloads","issues_url":"https://api.github.com/repos/biolab/orange3/issues{/number}","pulls_url":"https://api.github.com/repos/biolab/orange3/pulls{/number}","milestones_url":"https://api.github.com/repos/biolab/orange3/milestones{/number}","notifications_url":"https://api.github.com/repos/biolab/orange3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/biolab/orange3/labels{/name}","releases_url":"https://api.github.com/repos/biolab/orange3/releases{/id}","created_at":"2013-02-22T12:52:56Z","updated_at":"2015-07-27T02:34:05Z","pushed_at":"2015-07-27T09:10:09Z","git_url":"git://github.com/biolab/orange3.git","ssh_url":"git@github.com:biolab/orange3.git","clone_url":"https://github.com/biolab/orange3.git","svn_url":"https://github.com/biolab/orange3","homepage":null,"size":58337,"stargazers_count":124,"watchers_count":124,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":60,"mirror_url":null,"open_issues_count":42,"forks":60,"open_issues":42,"watchers":124,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/biolab/orange3/pulls/541"},"html":{"href":"https://github.com/biolab/orange3/pull/541"},"issue":{"href":"https://api.github.com/repos/biolab/orange3/issues/541"},"comments":{"href":"https://api.github.com/repos/biolab/orange3/issues/541/comments"},"review_comments":{"href":"https://api.github.com/repos/biolab/orange3/pulls/541/comments"},"review_comment":{"href":"https://api.github.com/repos/biolab/orange3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/biolab/orange3/pulls/541/commits"},"statuses":{"href":"https://api.github.com/repos/biolab/orange3/statuses/e4d00b218f0b4f1a66d014063d7138207b4fc7ba"}}}}