{"action":"created","issue":{"url":"https://api.github.com/repos/pluskid/Mocha.jl/issues/63","labels_url":"https://api.github.com/repos/pluskid/Mocha.jl/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/pluskid/Mocha.jl/issues/63/comments","events_url":"https://api.github.com/repos/pluskid/Mocha.jl/issues/63/events","html_url":"https://github.com/pluskid/Mocha.jl/pull/63","id":70966293,"number":63,"title":"Proposed Change to TrainingSummary()","user":{"login":"bisraelsen","id":3248556,"avatar_url":"https://avatars.githubusercontent.com/u/3248556?v=3","gravatar_id":"","url":"https://api.github.com/users/bisraelsen","html_url":"https://github.com/bisraelsen","followers_url":"https://api.github.com/users/bisraelsen/followers","following_url":"https://api.github.com/users/bisraelsen/following{/other_user}","gists_url":"https://api.github.com/users/bisraelsen/gists{/gist_id}","starred_url":"https://api.github.com/users/bisraelsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bisraelsen/subscriptions","organizations_url":"https://api.github.com/users/bisraelsen/orgs","repos_url":"https://api.github.com/users/bisraelsen/repos","events_url":"https://api.github.com/users/bisraelsen/events{/privacy}","received_events_url":"https://api.github.com/users/bisraelsen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-25T20:58:18Z","updated_at":"2015-04-25T21:43:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pluskid/Mocha.jl/pulls/63","html_url":"https://github.com/pluskid/Mocha.jl/pull/63","diff_url":"https://github.com/pluskid/Mocha.jl/pull/63.diff","patch_url":"https://github.com/pluskid/Mocha.jl/pull/63.patch"},"body":"I have made the following simple change to TrainingSummary() to allow for named parameters that will include/not-include: iteration, obj_val, learning_rate, and momentum.\r\n\r\nI included a dummy string variable that allow the booleans to be named. I am not really sure of a better way to do this. But I feel like it is ugly.\r\n\r\nIf the user uses no parameters the behavior defualts to the current behavior."},"comment":{"url":"https://api.github.com/repos/pluskid/Mocha.jl/issues/comments/96282788","html_url":"https://github.com/pluskid/Mocha.jl/pull/63#issuecomment-96282788","issue_url":"https://api.github.com/repos/pluskid/Mocha.jl/issues/63","id":96282788,"user":{"login":"bisraelsen","id":3248556,"avatar_url":"https://avatars.githubusercontent.com/u/3248556?v=3","gravatar_id":"","url":"https://api.github.com/users/bisraelsen","html_url":"https://github.com/bisraelsen","followers_url":"https://api.github.com/users/bisraelsen/followers","following_url":"https://api.github.com/users/bisraelsen/following{/other_user}","gists_url":"https://api.github.com/users/bisraelsen/gists{/gist_id}","starred_url":"https://api.github.com/users/bisraelsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bisraelsen/subscriptions","organizations_url":"https://api.github.com/users/bisraelsen/orgs","repos_url":"https://api.github.com/users/bisraelsen/repos","events_url":"https://api.github.com/users/bisraelsen/events{/privacy}","received_events_url":"https://api.github.com/users/bisraelsen/received_events","type":"User","site_admin":false},"created_at":"2015-04-25T21:43:44Z","updated_at":"2015-04-25T21:43:44Z","body":"As far as I know you cannot have a function with only named arguments."}}