{"action":"closed","issue":{"url":"https://api.github.com/repos/torch/torch7/issues/684","repository_url":"https://api.github.com/repos/torch/torch7","labels_url":"https://api.github.com/repos/torch/torch7/issues/684/labels{/name}","comments_url":"https://api.github.com/repos/torch/torch7/issues/684/comments","events_url":"https://api.github.com/repos/torch/torch7/issues/684/events","html_url":"https://github.com/torch/torch7/issues/684","id":155028965,"number":684,"title":"simple example of using optim to train a network?","user":{"login":"hughperkins","id":123560,"avatar_url":"https://avatars.githubusercontent.com/u/123560?v=3","gravatar_id":"","url":"https://api.github.com/users/hughperkins","html_url":"https://github.com/hughperkins","followers_url":"https://api.github.com/users/hughperkins/followers","following_url":"https://api.github.com/users/hughperkins/following{/other_user}","gists_url":"https://api.github.com/users/hughperkins/gists{/gist_id}","starred_url":"https://api.github.com/users/hughperkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hughperkins/subscriptions","organizations_url":"https://api.github.com/users/hughperkins/orgs","repos_url":"https://api.github.com/users/hughperkins/repos","events_url":"https://api.github.com/users/hughperkins/events{/privacy}","received_events_url":"https://api.github.com/users/hughperkins/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-16T13:26:17Z","updated_at":"2016-05-17T00:22:26Z","closed_at":"2016-05-17T00:22:26Z","body":"In the doc, I guess we are still using weird ways of training that no-one ever uses, is that a fair impression?\r\n\r\nCan we have an example that uses optim, which I think is the standard recently?\r\n\r\nExample of an issue based on some tutorial from the dark ages :-P\r\n\r\nhttps://github.com/hughperkins/clnn/issues/21#issuecomment-219415509"}}