{"action":"created","comment":{"url":"https://api.github.com/repos/apache/flink/pulls/comments/49211433","id":49211433,"diff_hunk":"@@ -54,14 +54,15 @@ abstract class GradientDescent extends IterativeSolver {\n     */\n   override def optimize(\n     data: DataSet[LabeledVector],\n-    initialWeights: Option[DataSet[WeightVector]]): DataSet[WeightVector] = {\n+    initialWeights: Option[DataSet[WeightVector]]\n+                         ): DataSet[WeightVector] = {","path":"flink-staging/flink-ml/src/main/scala/org/apache/flink/ml/optimization/GradientDescent.scala","position":15,"original_position":15,"commit_id":"688258ce1a1ad0ccfc1913211d08f2c4758cc148","original_commit_id":"688258ce1a1ad0ccfc1913211d08f2c4758cc148","user":{"login":"tillrohrmann","id":5756858,"avatar_url":"https://avatars.githubusercontent.com/u/5756858?v=3","gravatar_id":"","url":"https://api.github.com/users/tillrohrmann","html_url":"https://github.com/tillrohrmann","followers_url":"https://api.github.com/users/tillrohrmann/followers","following_url":"https://api.github.com/users/tillrohrmann/following{/other_user}","gists_url":"https://api.github.com/users/tillrohrmann/gists{/gist_id}","starred_url":"https://api.github.com/users/tillrohrmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tillrohrmann/subscriptions","organizations_url":"https://api.github.com/users/tillrohrmann/orgs","repos_url":"https://api.github.com/users/tillrohrmann/repos","events_url":"https://api.github.com/users/tillrohrmann/events{/privacy}","received_events_url":"https://api.github.com/users/tillrohrmann/received_events","type":"User","site_admin":false},"body":"Indentation:\r\n```\r\noverride def optimize(\r\n    data: ...\r\n    initialWeights: ...)\r\n  : DataSet[WeightVector] = {\r\n\r\n}\r\n```","created_at":"2016-01-08T17:06:42Z","updated_at":"2016-01-08T17:06:42Z","html_url":"https://github.com/apache/flink/pull/1397#discussion_r49211433","pull_request_url":"https://api.github.com/repos/apache/flink/pulls/1397","_links":{"self":{"href":"https://api.github.com/repos/apache/flink/pulls/comments/49211433"},"html":{"href":"https://github.com/apache/flink/pull/1397#discussion_r49211433"},"pull_request":{"href":"https://api.github.com/repos/apache/flink/pulls/1397"}}},"pull_request":{"url":"https://api.github.com/repos/apache/flink/pulls/1397","id":51612758,"html_url":"https://github.com/apache/flink/pull/1397","diff_url":"https://github.com/apache/flink/pull/1397.diff","patch_url":"https://github.com/apache/flink/pull/1397.patch","issue_url":"https://api.github.com/repos/apache/flink/issues/1397","number":1397,"state":"open","locked":false,"title":"[FLINK-1994] [ml] Add different gain calculation schemes to SGD","user":{"login":"rawkintrevo","id":5852441,"avatar_url":"https://avatars.githubusercontent.com/u/5852441?v=3","gravatar_id":"","url":"https://api.github.com/users/rawkintrevo","html_url":"https://github.com/rawkintrevo","followers_url":"https://api.github.com/users/rawkintrevo/followers","following_url":"https://api.github.com/users/rawkintrevo/following{/other_user}","gists_url":"https://api.github.com/users/rawkintrevo/gists{/gist_id}","starred_url":"https://api.github.com/users/rawkintrevo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rawkintrevo/subscriptions","organizations_url":"https://api.github.com/users/rawkintrevo/orgs","repos_url":"https://api.github.com/users/rawkintrevo/repos","events_url":"https://api.github.com/users/rawkintrevo/events{/privacy}","received_events_url":"https://api.github.com/users/rawkintrevo/received_events","type":"User","site_admin":false},"body":"Continuation of pull request 1384. \r\n\r\nFixed long line issue, rebased on top of current master, and changed title per instructions. \r\n\r\nhttps://github.com/apache/flink/pull/1384","created_at":"2015-11-24T03:22:22Z","updated_at":"2016-01-08T17:06:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c8950dbbc1e8859ff69978eb43eb0107b6fcba9d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/flink/pulls/1397/commits","review_comments_url":"https://api.github.com/repos/apache/flink/pulls/1397/comments","review_comment_url":"https://api.github.com/repos/apache/flink/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/flink/issues/1397/comments","statuses_url":"https://api.github.com/repos/apache/flink/statuses/688258ce1a1ad0ccfc1913211d08f2c4758cc148","head":{"label":"rawkintrevo:flink-1994","ref":"flink-1994","sha":"688258ce1a1ad0ccfc1913211d08f2c4758cc148","user":{"login":"rawkintrevo","id":5852441,"avatar_url":"https://avatars.githubusercontent.com/u/5852441?v=3","gravatar_id":"","url":"https://api.github.com/users/rawkintrevo","html_url":"https://github.com/rawkintrevo","followers_url":"https://api.github.com/users/rawkintrevo/followers","following_url":"https://api.github.com/users/rawkintrevo/following{/other_user}","gists_url":"https://api.github.com/users/rawkintrevo/gists{/gist_id}","starred_url":"https://api.github.com/users/rawkintrevo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rawkintrevo/subscriptions","organizations_url":"https://api.github.com/users/rawkintrevo/orgs","repos_url":"https://api.github.com/users/rawkintrevo/repos","events_url":"https://api.github.com/users/rawkintrevo/events{/privacy}","received_events_url":"https://api.github.com/users/rawkintrevo/received_events","type":"User","site_admin":false},"repo":{"id":40142384,"name":"flink","full_name":"rawkintrevo/flink","owner":{"login":"rawkintrevo","id":5852441,"avatar_url":"https://avatars.githubusercontent.com/u/5852441?v=3","gravatar_id":"","url":"https://api.github.com/users/rawkintrevo","html_url":"https://github.com/rawkintrevo","followers_url":"https://api.github.com/users/rawkintrevo/followers","following_url":"https://api.github.com/users/rawkintrevo/following{/other_user}","gists_url":"https://api.github.com/users/rawkintrevo/gists{/gist_id}","starred_url":"https://api.github.com/users/rawkintrevo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rawkintrevo/subscriptions","organizations_url":"https://api.github.com/users/rawkintrevo/orgs","repos_url":"https://api.github.com/users/rawkintrevo/repos","events_url":"https://api.github.com/users/rawkintrevo/events{/privacy}","received_events_url":"https://api.github.com/users/rawkintrevo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rawkintrevo/flink","description":"Mirror of Apache Flink","fork":true,"url":"https://api.github.com/repos/rawkintrevo/flink","forks_url":"https://api.github.com/repos/rawkintrevo/flink/forks","keys_url":"https://api.github.com/repos/rawkintrevo/flink/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rawkintrevo/flink/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rawkintrevo/flink/teams","hooks_url":"https://api.github.com/repos/rawkintrevo/flink/hooks","issue_events_url":"https://api.github.com/repos/rawkintrevo/flink/issues/events{/number}","events_url":"https://api.github.com/repos/rawkintrevo/flink/events","assignees_url":"https://api.github.com/repos/rawkintrevo/flink/assignees{/user}","branches_url":"https://api.github.com/repos/rawkintrevo/flink/branches{/branch}","tags_url":"https://api.github.com/repos/rawkintrevo/flink/tags","blobs_url":"https://api.github.com/repos/rawkintrevo/flink/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rawkintrevo/flink/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rawkintrevo/flink/git/refs{/sha}","trees_url":"https://api.github.com/repos/rawkintrevo/flink/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rawkintrevo/flink/statuses/{sha}","languages_url":"https://api.github.com/repos/rawkintrevo/flink/languages","stargazers_url":"https://api.github.com/repos/rawkintrevo/flink/stargazers","contributors_url":"https://api.github.com/repos/rawkintrevo/flink/contributors","subscribers_url":"https://api.github.com/repos/rawkintrevo/flink/subscribers","subscription_url":"https://api.github.com/repos/rawkintrevo/flink/subscription","commits_url":"https://api.github.com/repos/rawkintrevo/flink/commits{/sha}","git_commits_url":"https://api.github.com/repos/rawkintrevo/flink/git/commits{/sha}","comments_url":"https://api.github.com/repos/rawkintrevo/flink/comments{/number}","issue_comment_url":"https://api.github.com/repos/rawkintrevo/flink/issues/comments{/number}","contents_url":"https://api.github.com/repos/rawkintrevo/flink/contents/{+path}","compare_url":"https://api.github.com/repos/rawkintrevo/flink/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rawkintrevo/flink/merges","archive_url":"https://api.github.com/repos/rawkintrevo/flink/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rawkintrevo/flink/downloads","issues_url":"https://api.github.com/repos/rawkintrevo/flink/issues{/number}","pulls_url":"https://api.github.com/repos/rawkintrevo/flink/pulls{/number}","milestones_url":"https://api.github.com/repos/rawkintrevo/flink/milestones{/number}","notifications_url":"https://api.github.com/repos/rawkintrevo/flink/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rawkintrevo/flink/labels{/name}","releases_url":"https://api.github.com/repos/rawkintrevo/flink/releases{/id}","created_at":"2015-08-03T18:53:37Z","updated_at":"2015-08-03T18:53:50Z","pushed_at":"2015-12-31T18:35:44Z","git_url":"git://github.com/rawkintrevo/flink.git","ssh_url":"git@github.com:rawkintrevo/flink.git","clone_url":"https://github.com/rawkintrevo/flink.git","svn_url":"https://github.com/rawkintrevo/flink","homepage":null,"size":69776,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"apache:master","ref":"master","sha":"93d392a482eb6aee2fd7358ea985f8025c2051a3","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":20587599,"name":"flink","full_name":"apache/flink","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/flink","description":"Mirror of Apache Flink","fork":false,"url":"https://api.github.com/repos/apache/flink","forks_url":"https://api.github.com/repos/apache/flink/forks","keys_url":"https://api.github.com/repos/apache/flink/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/flink/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/flink/teams","hooks_url":"https://api.github.com/repos/apache/flink/hooks","issue_events_url":"https://api.github.com/repos/apache/flink/issues/events{/number}","events_url":"https://api.github.com/repos/apache/flink/events","assignees_url":"https://api.github.com/repos/apache/flink/assignees{/user}","branches_url":"https://api.github.com/repos/apache/flink/branches{/branch}","tags_url":"https://api.github.com/repos/apache/flink/tags","blobs_url":"https://api.github.com/repos/apache/flink/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/flink/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/flink/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/flink/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/flink/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/flink/languages","stargazers_url":"https://api.github.com/repos/apache/flink/stargazers","contributors_url":"https://api.github.com/repos/apache/flink/contributors","subscribers_url":"https://api.github.com/repos/apache/flink/subscribers","subscription_url":"https://api.github.com/repos/apache/flink/subscription","commits_url":"https://api.github.com/repos/apache/flink/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/flink/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/flink/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/flink/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/flink/contents/{+path}","compare_url":"https://api.github.com/repos/apache/flink/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/flink/merges","archive_url":"https://api.github.com/repos/apache/flink/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/flink/downloads","issues_url":"https://api.github.com/repos/apache/flink/issues{/number}","pulls_url":"https://api.github.com/repos/apache/flink/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/flink/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/flink/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/flink/labels{/name}","releases_url":"https://api.github.com/repos/apache/flink/releases{/id}","created_at":"2014-06-07T07:00:10Z","updated_at":"2016-01-07T18:58:21Z","pushed_at":"2016-01-08T17:05:21Z","git_url":"git://github.com/apache/flink.git","ssh_url":"git@github.com:apache/flink.git","clone_url":"https://github.com/apache/flink.git","svn_url":"https://github.com/apache/flink","homepage":null,"size":87902,"stargazers_count":860,"watchers_count":860,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":572,"mirror_url":"git://git.apache.org/flink.git","open_issues_count":74,"forks":572,"open_issues":74,"watchers":860,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/flink/pulls/1397"},"html":{"href":"https://github.com/apache/flink/pull/1397"},"issue":{"href":"https://api.github.com/repos/apache/flink/issues/1397"},"comments":{"href":"https://api.github.com/repos/apache/flink/issues/1397/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/flink/pulls/1397/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/flink/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/flink/pulls/1397/commits"},"statuses":{"href":"https://api.github.com/repos/apache/flink/statuses/688258ce1a1ad0ccfc1913211d08f2c4758cc148"}}}}