{"action":"created","comment":{"url":"https://api.github.com/repos/biolab/orange3/pulls/comments/56678807","id":56678807,"diff_hunk":"@@ -180,6 +162,25 @@ def _on_func_changed(self):\n         for spin, enabled in zip(self._func_params, mask):\n             spin.setEnabled(enabled)\n \n+    def send_report(self):\n+        items = OrderedDict()\n+        items['Loss function'] = self.LOSS_FUNCTIONS[self.loss_function]\n+        if self.LOSS_FUNCTIONS[self.loss_function] != \"Squared loss\":\n+            items['Loss function'] = items['Loss function'] + \",\\\n+                                     ε={}\".format(self.epsilon)\n+        items['Penalty'] = self.PENALTIES[self.penalty_type]\n+        if self.PENALTIES[self.penalty_type] == \"Elastic net (L1 and L2)\":\n+            items['Penalty'] = items['Penalty'] + (\": L1 : L2 = {} : {}\".\n+                               format(self.l1_ratio, 1.0 - self.l1_ratio))\n+        items['Penalty'] = items['Penalty'] + ', α={}'.format(self.alpha)\n+        items['Learning rate'] = self.LEARNING_RATES[self.learning_rate] + \",\\","path":"Orange/widgets/regression/owsgdregression.py","position":200,"original_position":200,"commit_id":"741ed5ed1db97ab01b1b2981f007ba5a624d543d","original_commit_id":"741ed5ed1db97ab01b1b2981f007ba5a624d543d","user":{"login":"janezd","id":2387315,"avatar_url":"https://avatars.githubusercontent.com/u/2387315?v=3","gravatar_id":"","url":"https://api.github.com/users/janezd","html_url":"https://github.com/janezd","followers_url":"https://api.github.com/users/janezd/followers","following_url":"https://api.github.com/users/janezd/following{/other_user}","gists_url":"https://api.github.com/users/janezd/gists{/gist_id}","starred_url":"https://api.github.com/users/janezd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janezd/subscriptions","organizations_url":"https://api.github.com/users/janezd/orgs","repos_url":"https://api.github.com/users/janezd/repos","events_url":"https://api.github.com/users/janezd/events{/privacy}","received_events_url":"https://api.github.com/users/janezd/received_events","type":"User","site_admin":false},"body":"Don't break lines within string literals.","created_at":"2016-03-18T15:59:39Z","updated_at":"2016-03-18T15:59:39Z","html_url":"https://github.com/biolab/orange3/pull/1107#discussion_r56678807","pull_request_url":"https://api.github.com/repos/biolab/orange3/pulls/1107","_links":{"self":{"href":"https://api.github.com/repos/biolab/orange3/pulls/comments/56678807"},"html":{"href":"https://github.com/biolab/orange3/pull/1107#discussion_r56678807"},"pull_request":{"href":"https://api.github.com/repos/biolab/orange3/pulls/1107"}}},"pull_request":{"url":"https://api.github.com/repos/biolab/orange3/pulls/1107","id":62535145,"html_url":"https://github.com/biolab/orange3/pull/1107","diff_url":"https://github.com/biolab/orange3/pull/1107.diff","patch_url":"https://github.com/biolab/orange3/pull/1107.patch","issue_url":"https://api.github.com/repos/biolab/orange3/issues/1107","number":1107,"state":"open","locked":false,"title":"Layout Fixed and Report Generated for SGD Regression","user":{"login":"wadhwasahil","id":6851773,"avatar_url":"https://avatars.githubusercontent.com/u/6851773?v=3","gravatar_id":"","url":"https://api.github.com/users/wadhwasahil","html_url":"https://github.com/wadhwasahil","followers_url":"https://api.github.com/users/wadhwasahil/followers","following_url":"https://api.github.com/users/wadhwasahil/following{/other_user}","gists_url":"https://api.github.com/users/wadhwasahil/gists{/gist_id}","starred_url":"https://api.github.com/users/wadhwasahil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wadhwasahil/subscriptions","organizations_url":"https://api.github.com/users/wadhwasahil/orgs","repos_url":"https://api.github.com/users/wadhwasahil/repos","events_url":"https://api.github.com/users/wadhwasahil/events{/privacy}","received_events_url":"https://api.github.com/users/wadhwasahil/received_events","type":"User","site_admin":false},"body":"Fixes #1078 and layout improved. Now box is adjusted.\r\n<!--\r\nSquash the commits, as appropriate. See .github/CONTRIBUTING.md for\r\nmore information.\r\n\r\nDescribe the relevant changes in the commit messages, if they need explaining.\r\n \r\nIf the pull request introduces a new feature or an important bug fix, consider\r\nadding _one_ of the below tags, enclosed in square brackets, in its title:\r\n\r\n    ENH, FIX, DOC, WIP\r\n\r\nFor some example:\r\n\r\n    [ENH] CrossValidation: Parallelize computation\r\n    [FIX] NaiveBayesLearner: Don't crash on input containing nan values\r\n    [DOC] Extend documentation for widget development\r\n    [WIP] Working on X ... RFC please\r\n\r\nPull-requests not so tagged will be batched as \"other features and bugfixes,\"\r\nwhich is fine for stuff you don't go home and brag to your mother about.\r\n-->\r\n\r\n","created_at":"2016-03-11T12:13:03Z","updated_at":"2016-03-18T15:59:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cc2db187b54d4165b154d1a68e3603159c9b4bfa","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/biolab/orange3/pulls/1107/commits","review_comments_url":"https://api.github.com/repos/biolab/orange3/pulls/1107/comments","review_comment_url":"https://api.github.com/repos/biolab/orange3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/biolab/orange3/issues/1107/comments","statuses_url":"https://api.github.com/repos/biolab/orange3/statuses/741ed5ed1db97ab01b1b2981f007ba5a624d543d","head":{"label":"wadhwasahil:sgd_regression","ref":"sgd_regression","sha":"741ed5ed1db97ab01b1b2981f007ba5a624d543d","user":{"login":"wadhwasahil","id":6851773,"avatar_url":"https://avatars.githubusercontent.com/u/6851773?v=3","gravatar_id":"","url":"https://api.github.com/users/wadhwasahil","html_url":"https://github.com/wadhwasahil","followers_url":"https://api.github.com/users/wadhwasahil/followers","following_url":"https://api.github.com/users/wadhwasahil/following{/other_user}","gists_url":"https://api.github.com/users/wadhwasahil/gists{/gist_id}","starred_url":"https://api.github.com/users/wadhwasahil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wadhwasahil/subscriptions","organizations_url":"https://api.github.com/users/wadhwasahil/orgs","repos_url":"https://api.github.com/users/wadhwasahil/repos","events_url":"https://api.github.com/users/wadhwasahil/events{/privacy}","received_events_url":"https://api.github.com/users/wadhwasahil/received_events","type":"User","site_admin":false},"repo":{"id":53123341,"name":"orange3","full_name":"wadhwasahil/orange3","owner":{"login":"wadhwasahil","id":6851773,"avatar_url":"https://avatars.githubusercontent.com/u/6851773?v=3","gravatar_id":"","url":"https://api.github.com/users/wadhwasahil","html_url":"https://github.com/wadhwasahil","followers_url":"https://api.github.com/users/wadhwasahil/followers","following_url":"https://api.github.com/users/wadhwasahil/following{/other_user}","gists_url":"https://api.github.com/users/wadhwasahil/gists{/gist_id}","starred_url":"https://api.github.com/users/wadhwasahil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wadhwasahil/subscriptions","organizations_url":"https://api.github.com/users/wadhwasahil/orgs","repos_url":"https://api.github.com/users/wadhwasahil/repos","events_url":"https://api.github.com/users/wadhwasahil/events{/privacy}","received_events_url":"https://api.github.com/users/wadhwasahil/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wadhwasahil/orange3","description":"Orange 3 data mining suite: http://orange.biolab.si ","fork":true,"url":"https://api.github.com/repos/wadhwasahil/orange3","forks_url":"https://api.github.com/repos/wadhwasahil/orange3/forks","keys_url":"https://api.github.com/repos/wadhwasahil/orange3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wadhwasahil/orange3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wadhwasahil/orange3/teams","hooks_url":"https://api.github.com/repos/wadhwasahil/orange3/hooks","issue_events_url":"https://api.github.com/repos/wadhwasahil/orange3/issues/events{/number}","events_url":"https://api.github.com/repos/wadhwasahil/orange3/events","assignees_url":"https://api.github.com/repos/wadhwasahil/orange3/assignees{/user}","branches_url":"https://api.github.com/repos/wadhwasahil/orange3/branches{/branch}","tags_url":"https://api.github.com/repos/wadhwasahil/orange3/tags","blobs_url":"https://api.github.com/repos/wadhwasahil/orange3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wadhwasahil/orange3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wadhwasahil/orange3/git/refs{/sha}","trees_url":"https://api.github.com/repos/wadhwasahil/orange3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wadhwasahil/orange3/statuses/{sha}","languages_url":"https://api.github.com/repos/wadhwasahil/orange3/languages","stargazers_url":"https://api.github.com/repos/wadhwasahil/orange3/stargazers","contributors_url":"https://api.github.com/repos/wadhwasahil/orange3/contributors","subscribers_url":"https://api.github.com/repos/wadhwasahil/orange3/subscribers","subscription_url":"https://api.github.com/repos/wadhwasahil/orange3/subscription","commits_url":"https://api.github.com/repos/wadhwasahil/orange3/commits{/sha}","git_commits_url":"https://api.github.com/repos/wadhwasahil/orange3/git/commits{/sha}","comments_url":"https://api.github.com/repos/wadhwasahil/orange3/comments{/number}","issue_comment_url":"https://api.github.com/repos/wadhwasahil/orange3/issues/comments{/number}","contents_url":"https://api.github.com/repos/wadhwasahil/orange3/contents/{+path}","compare_url":"https://api.github.com/repos/wadhwasahil/orange3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wadhwasahil/orange3/merges","archive_url":"https://api.github.com/repos/wadhwasahil/orange3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wadhwasahil/orange3/downloads","issues_url":"https://api.github.com/repos/wadhwasahil/orange3/issues{/number}","pulls_url":"https://api.github.com/repos/wadhwasahil/orange3/pulls{/number}","milestones_url":"https://api.github.com/repos/wadhwasahil/orange3/milestones{/number}","notifications_url":"https://api.github.com/repos/wadhwasahil/orange3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wadhwasahil/orange3/labels{/name}","releases_url":"https://api.github.com/repos/wadhwasahil/orange3/releases{/id}","deployments_url":"https://api.github.com/repos/wadhwasahil/orange3/deployments","created_at":"2016-03-04T09:20:56Z","updated_at":"2016-03-04T09:20:59Z","pushed_at":"2016-03-18T15:40:21Z","git_url":"git://github.com/wadhwasahil/orange3.git","ssh_url":"git@github.com:wadhwasahil/orange3.git","clone_url":"https://github.com/wadhwasahil/orange3.git","svn_url":"https://github.com/wadhwasahil/orange3","homepage":"","size":36551,"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":"32156d10d6f1b96c1e6ec3eafe4a552ced289568","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":"Orange 3 data mining suite: http://orange.biolab.si ","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}","deployments_url":"https://api.github.com/repos/biolab/orange3/deployments","created_at":"2013-02-22T12:52:56Z","updated_at":"2016-03-18T05:29:07Z","pushed_at":"2016-03-18T15:54:35Z","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":"","size":75753,"stargazers_count":225,"watchers_count":225,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":103,"mirror_url":null,"open_issues_count":67,"forks":103,"open_issues":67,"watchers":225,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/biolab/orange3/pulls/1107"},"html":{"href":"https://github.com/biolab/orange3/pull/1107"},"issue":{"href":"https://api.github.com/repos/biolab/orange3/issues/1107"},"comments":{"href":"https://api.github.com/repos/biolab/orange3/issues/1107/comments"},"review_comments":{"href":"https://api.github.com/repos/biolab/orange3/pulls/1107/comments"},"review_comment":{"href":"https://api.github.com/repos/biolab/orange3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/biolab/orange3/pulls/1107/commits"},"statuses":{"href":"https://api.github.com/repos/biolab/orange3/statuses/741ed5ed1db97ab01b1b2981f007ba5a624d543d"}}}}