{"action":"created","issue":{"url":"https://api.github.com/repos/pluskid/Mocha.jl/issues/81","labels_url":"https://api.github.com/repos/pluskid/Mocha.jl/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/pluskid/Mocha.jl/issues/81/comments","events_url":"https://api.github.com/repos/pluskid/Mocha.jl/issues/81/events","html_url":"https://github.com/pluskid/Mocha.jl/issues/81","id":98380562,"number":81,"title":"LRPolicy.DecayOnValidation causes error","user":{"login":"scheidan","id":3071486,"avatar_url":"https://avatars.githubusercontent.com/u/3071486?v=3","gravatar_id":"","url":"https://api.github.com/users/scheidan","html_url":"https://github.com/scheidan","followers_url":"https://api.github.com/users/scheidan/followers","following_url":"https://api.github.com/users/scheidan/following{/other_user}","gists_url":"https://api.github.com/users/scheidan/gists{/gist_id}","starred_url":"https://api.github.com/users/scheidan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scheidan/subscriptions","organizations_url":"https://api.github.com/users/scheidan/orgs","repos_url":"https://api.github.com/users/scheidan/repos","events_url":"https://api.github.com/users/scheidan/events{/privacy}","received_events_url":"https://api.github.com/users/scheidan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-31T12:23:26Z","updated_at":"2015-08-01T13:11:35Z","closed_at":null,"body":"Great package, thanks for all your work!\r\n\r\nI tried to use the `DecayOnValidation` learning rate policy together with a SquareLoss and have two questions/bugs:\r\n- I get the error message `policy not defined`. See this [Gist](example: https://gist.github.com/scheidan/83026b9f4b5f4c7c7079) for an minimal example. Is my setup correct?\r\n- As I understand the [this code](https://github.com/pluskid/Mocha.jl/blob/3cd3c359c1589afdeb91ded81e48ecd86a258b70/src/solvers.jl#L44), the learning rate would only drop when the loss _decreases_, which is not what we want for a SquareLoss."},"comment":{"url":"https://api.github.com/repos/pluskid/Mocha.jl/issues/comments/126914680","html_url":"https://github.com/pluskid/Mocha.jl/issues/81#issuecomment-126914680","issue_url":"https://api.github.com/repos/pluskid/Mocha.jl/issues/81","id":126914680,"user":{"login":"pluskid","id":3542,"avatar_url":"https://avatars.githubusercontent.com/u/3542?v=3","gravatar_id":"","url":"https://api.github.com/users/pluskid","html_url":"https://github.com/pluskid","followers_url":"https://api.github.com/users/pluskid/followers","following_url":"https://api.github.com/users/pluskid/following{/other_user}","gists_url":"https://api.github.com/users/pluskid/gists{/gist_id}","starred_url":"https://api.github.com/users/pluskid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pluskid/subscriptions","organizations_url":"https://api.github.com/users/pluskid/orgs","repos_url":"https://api.github.com/users/pluskid/repos","events_url":"https://api.github.com/users/pluskid/events{/privacy}","received_events_url":"https://api.github.com/users/pluskid/received_events","type":"User","site_admin":false},"created_at":"2015-08-01T13:11:35Z","updated_at":"2015-08-01T13:11:35Z","body":"@scheidan It seems you forgot to link \"this gist\". I will show a gist with an example setup.\r\n\r\nYes, currently it only drops when the loss decreases. "}}