{"action":"created","issue":{"url":"https://api.github.com/repos/aimacode/aima-python/issues/137","repository_url":"https://api.github.com/repos/aimacode/aima-python","labels_url":"https://api.github.com/repos/aimacode/aima-python/issues/137/labels{/name}","comments_url":"https://api.github.com/repos/aimacode/aima-python/issues/137/comments","events_url":"https://api.github.com/repos/aimacode/aima-python/issues/137/events","html_url":"https://github.com/aimacode/aima-python/pull/137","id":140604873,"number":137,"title":"Added the perceptron learner algorithm","user":{"login":"AbdulazizAlaa","id":6316434,"avatar_url":"https://avatars.githubusercontent.com/u/6316434?v=3","gravatar_id":"","url":"https://api.github.com/users/AbdulazizAlaa","html_url":"https://github.com/AbdulazizAlaa","followers_url":"https://api.github.com/users/AbdulazizAlaa/followers","following_url":"https://api.github.com/users/AbdulazizAlaa/following{/other_user}","gists_url":"https://api.github.com/users/AbdulazizAlaa/gists{/gist_id}","starred_url":"https://api.github.com/users/AbdulazizAlaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AbdulazizAlaa/subscriptions","organizations_url":"https://api.github.com/users/AbdulazizAlaa/orgs","repos_url":"https://api.github.com/users/AbdulazizAlaa/repos","events_url":"https://api.github.com/users/AbdulazizAlaa/events{/privacy}","received_events_url":"https://api.github.com/users/AbdulazizAlaa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-14T08:18:05Z","updated_at":"2016-03-15T07:10:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/aimacode/aima-python/pulls/137","html_url":"https://github.com/aimacode/aima-python/pull/137","diff_url":"https://github.com/aimacode/aima-python/pull/137.diff","patch_url":"https://github.com/aimacode/aima-python/pull/137.patch"},"body":"Added the code for the perceptron learner. It contains several functions with their comments. \r\n\r\nthe most important are: gradientDescient an implementation of the gradient descent that loops for a specific number of iterations and every time computes the cost and gradient, then it updates the weights using the gradient. cost a function that computes the cost and gradient using mathematical formal. generateTargetList converts the target list into a list of 1 and -1 to denote the existence of some class.\r\n\r\ni hope everything is clear. "},"comment":{"url":"https://api.github.com/repos/aimacode/aima-python/issues/comments/196693861","html_url":"https://github.com/aimacode/aima-python/pull/137#issuecomment-196693861","issue_url":"https://api.github.com/repos/aimacode/aima-python/issues/137","id":196693861,"user":{"login":"AbdulazizAlaa","id":6316434,"avatar_url":"https://avatars.githubusercontent.com/u/6316434?v=3","gravatar_id":"","url":"https://api.github.com/users/AbdulazizAlaa","html_url":"https://github.com/AbdulazizAlaa","followers_url":"https://api.github.com/users/AbdulazizAlaa/followers","following_url":"https://api.github.com/users/AbdulazizAlaa/following{/other_user}","gists_url":"https://api.github.com/users/AbdulazizAlaa/gists{/gist_id}","starred_url":"https://api.github.com/users/AbdulazizAlaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AbdulazizAlaa/subscriptions","organizations_url":"https://api.github.com/users/AbdulazizAlaa/orgs","repos_url":"https://api.github.com/users/AbdulazizAlaa/repos","events_url":"https://api.github.com/users/AbdulazizAlaa/events{/privacy}","received_events_url":"https://api.github.com/users/AbdulazizAlaa/received_events","type":"User","site_admin":false},"created_at":"2016-03-15T07:10:44Z","updated_at":"2016-03-15T07:10:44Z","body":"Hi @Schrodinger1926, yeah i see it now.  Thank you. Can you guide me to what issue maybe of benefit to contribute to. Thank you again. "}}