{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/9229","labels_url":"https://api.github.com/repos/apache/spark/issues/9229/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/9229/comments","events_url":"https://api.github.com/repos/apache/spark/issues/9229/events","html_url":"https://github.com/apache/spark/pull/9229","id":112867020,"number":9229,"title":"[SPARK-11262][ML] Unit test for gradient, loss layers, memory management for multilayer perceptron","user":{"login":"avulanov","id":939524,"avatar_url":"https://avatars.githubusercontent.com/u/939524?v=3","gravatar_id":"","url":"https://api.github.com/users/avulanov","html_url":"https://github.com/avulanov","followers_url":"https://api.github.com/users/avulanov/followers","following_url":"https://api.github.com/users/avulanov/following{/other_user}","gists_url":"https://api.github.com/users/avulanov/gists{/gist_id}","starred_url":"https://api.github.com/users/avulanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avulanov/subscriptions","organizations_url":"https://api.github.com/users/avulanov/orgs","repos_url":"https://api.github.com/users/avulanov/repos","events_url":"https://api.github.com/users/avulanov/events{/privacy}","received_events_url":"https://api.github.com/users/avulanov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-10-22T18:50:53Z","updated_at":"2015-11-09T22:50:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/9229","html_url":"https://github.com/apache/spark/pull/9229","diff_url":"https://github.com/apache/spark/pull/9229.diff","patch_url":"https://github.com/apache/spark/pull/9229.patch"},"body":"1.Implement LossFunction trait and implement squared error and cross entropy\r\nloss with it\r\n2.Implement unit test for gradient and loss\r\n3.Implement InPlace trait and in-place layer evaluation\r\n4.Refactor interface for ActivationFunction\r\n5.Update of Layer and LayerModel interfaces\r\n6.Fix random weights assignment\r\n7.Implement memory allocation by MLP model instead of individual layers\r\n\r\nThese features decreased the memory usage and increased flexibility of\r\ninternal API."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/155223812","html_url":"https://github.com/apache/spark/pull/9229#issuecomment-155223812","issue_url":"https://api.github.com/repos/apache/spark/issues/9229","id":155223812,"user":{"login":"SparkQA","id":8108735,"avatar_url":"https://avatars.githubusercontent.com/u/8108735?v=3","gravatar_id":"","url":"https://api.github.com/users/SparkQA","html_url":"https://github.com/SparkQA","followers_url":"https://api.github.com/users/SparkQA/followers","following_url":"https://api.github.com/users/SparkQA/following{/other_user}","gists_url":"https://api.github.com/users/SparkQA/gists{/gist_id}","starred_url":"https://api.github.com/users/SparkQA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SparkQA/subscriptions","organizations_url":"https://api.github.com/users/SparkQA/orgs","repos_url":"https://api.github.com/users/SparkQA/repos","events_url":"https://api.github.com/users/SparkQA/events{/privacy}","received_events_url":"https://api.github.com/users/SparkQA/received_events","type":"User","site_admin":false},"created_at":"2015-11-09T22:50:02Z","updated_at":"2015-11-09T22:50:02Z","body":"**[Test build #45410 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/45410/consoleFull)** for PR 9229 at commit [`129c9aa`](https://github.com/apache/spark/commit/129c9aa50d8e3ba2a10faf8781e5ca060a6a4905).\n * This patch **fails Spark unit tests**.\n * This patch merges cleanly.\n * This patch adds no public classes."}}