{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/4819","labels_url":"https://api.github.com/repos/apache/spark/issues/4819/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/4819/comments","events_url":"https://api.github.com/repos/apache/spark/issues/4819/events","html_url":"https://github.com/apache/spark/pull/4819","id":59294852,"number":4819,"title":"[SPARK-6025] [MLlib] Add helper method to efficiently compute error in GBT's","user":{"login":"MechCoder","id":1867024,"avatar_url":"https://avatars.githubusercontent.com/u/1867024?v=3","gravatar_id":"","url":"https://api.github.com/users/MechCoder","html_url":"https://github.com/MechCoder","followers_url":"https://api.github.com/users/MechCoder/followers","following_url":"https://api.github.com/users/MechCoder/following{/other_user}","gists_url":"https://api.github.com/users/MechCoder/gists{/gist_id}","starred_url":"https://api.github.com/users/MechCoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MechCoder/subscriptions","organizations_url":"https://api.github.com/users/MechCoder/orgs","repos_url":"https://api.github.com/users/MechCoder/repos","events_url":"https://api.github.com/users/MechCoder/events{/privacy}","received_events_url":"https://api.github.com/users/MechCoder/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-02-27T21:11:30Z","updated_at":"2015-02-28T14:19:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/4819","html_url":"https://github.com/apache/spark/pull/4819","diff_url":"https://github.com/apache/spark/pull/4819.diff","patch_url":"https://github.com/apache/spark/pull/4819.patch"},"body":"While computing the error, with and without validation, for every iteration, the feature prediction of the previous trees was not being cached, which lead to re computation."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/76527811","html_url":"https://github.com/apache/spark/pull/4819#issuecomment-76527811","issue_url":"https://api.github.com/repos/apache/spark/issues/4819","id":76527811,"user":{"login":"MechCoder","id":1867024,"avatar_url":"https://avatars.githubusercontent.com/u/1867024?v=3","gravatar_id":"","url":"https://api.github.com/users/MechCoder","html_url":"https://github.com/MechCoder","followers_url":"https://api.github.com/users/MechCoder/followers","following_url":"https://api.github.com/users/MechCoder/following{/other_user}","gists_url":"https://api.github.com/users/MechCoder/gists{/gist_id}","starred_url":"https://api.github.com/users/MechCoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MechCoder/subscriptions","organizations_url":"https://api.github.com/users/MechCoder/orgs","repos_url":"https://api.github.com/users/MechCoder/repos","events_url":"https://api.github.com/users/MechCoder/events{/privacy}","received_events_url":"https://api.github.com/users/MechCoder/received_events","type":"User","site_admin":false},"created_at":"2015-02-28T14:19:32Z","updated_at":"2015-02-28T14:19:32Z","body":"@jkbradley I am assuming that this is what you intended. It works but I'm not sure about the present design, which differs from the design that you had posted in the JIRA.\r\n\r\n    def evaluateEachIteration(data: RDD[LabeledPoint], evaluator): Array[Double]\r\n\r\nI am not sure how this would work, if the existing residual is not passed and could you also say what Array[Double] is supposed to be?"}}