{"action":"created","issue":{"url":"https://api.github.com/repos/STOR-i/GaussianProcesses.jl/issues/34","repository_url":"https://api.github.com/repos/STOR-i/GaussianProcesses.jl","labels_url":"https://api.github.com/repos/STOR-i/GaussianProcesses.jl/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/STOR-i/GaussianProcesses.jl/issues/34/comments","events_url":"https://api.github.com/repos/STOR-i/GaussianProcesses.jl/issues/34/events","html_url":"https://github.com/STOR-i/GaussianProcesses.jl/pull/34","id":176205009,"number":34,"title":"revamp gradients implementations","user":{"login":"maximerischard","id":328831,"avatar_url":"https://avatars.githubusercontent.com/u/328831?v=3","gravatar_id":"","url":"https://api.github.com/users/maximerischard","html_url":"https://github.com/maximerischard","followers_url":"https://api.github.com/users/maximerischard/followers","following_url":"https://api.github.com/users/maximerischard/following{/other_user}","gists_url":"https://api.github.com/users/maximerischard/gists{/gist_id}","starred_url":"https://api.github.com/users/maximerischard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maximerischard/subscriptions","organizations_url":"https://api.github.com/users/maximerischard/orgs","repos_url":"https://api.github.com/users/maximerischard/repos","events_url":"https://api.github.com/users/maximerischard/events{/privacy}","received_events_url":"https://api.github.com/users/maximerischard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-10T21:49:27Z","updated_at":"2016-09-11T22:33:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/STOR-i/GaussianProcesses.jl/pulls/34","html_url":"https://github.com/STOR-i/GaussianProcesses.jl/pull/34","diff_url":"https://github.com/STOR-i/GaussianProcesses.jl/pull/34.diff","patch_url":"https://github.com/STOR-i/GaussianProcesses.jl/pull/34.patch"},"body":"revamp gradients implementations to avoid unnecessary memory allocations, fix some gradients along the way, add some tests, and make things generally faster\r\n\r\nI'm dealing with some relatively large dataset (N>10000 or so), and very quickly started running out of RAM when optimizing hyperparameters. I've modified the way kernel gradients are obtained, to reduce the number of memory allocations that are necessary.\r\n\r\nAlong the way I found a few gradients that were wrong (I've added tests so they should all be correct now), and generally rewrote a lot of functions to make them faster.\r\n\r\nIncidentally, the new gradient functions make it easy to get the derivative of the kernel with respect to a single parameter (with the grad_slice function), which should make #33 easier to achieve."},"comment":{"url":"https://api.github.com/repos/STOR-i/GaussianProcesses.jl/issues/comments/246209307","html_url":"https://github.com/STOR-i/GaussianProcesses.jl/pull/34#issuecomment-246209307","issue_url":"https://api.github.com/repos/STOR-i/GaussianProcesses.jl/issues/34","id":246209307,"user":{"login":"maximerischard","id":328831,"avatar_url":"https://avatars.githubusercontent.com/u/328831?v=3","gravatar_id":"","url":"https://api.github.com/users/maximerischard","html_url":"https://github.com/maximerischard","followers_url":"https://api.github.com/users/maximerischard/followers","following_url":"https://api.github.com/users/maximerischard/following{/other_user}","gists_url":"https://api.github.com/users/maximerischard/gists{/gist_id}","starred_url":"https://api.github.com/users/maximerischard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maximerischard/subscriptions","organizations_url":"https://api.github.com/users/maximerischard/orgs","repos_url":"https://api.github.com/users/maximerischard/repos","events_url":"https://api.github.com/users/maximerischard/events{/privacy}","received_events_url":"https://api.github.com/users/maximerischard/received_events","type":"User","site_admin":false},"created_at":"2016-09-11T22:33:45Z","updated_at":"2016-09-11T22:33:45Z","body":"I think this now passes all tests in julia 0.4 and julia 0.5, but it does require the master version of Compat, which hasn't yet been tagged. I've updated REQUIRE to ask for Compat 0.9.2, which doesn't exist yet, but hopefully will very soon."}}
{"actor":{"display_login":"maximerischard"}}