{"action":"created","issue":{"url":"https://api.github.com/repos/CodingTrain/website/issues/678","repository_url":"https://api.github.com/repos/CodingTrain/website","labels_url":"https://api.github.com/repos/CodingTrain/website/issues/678/labels{/name}","comments_url":"https://api.github.com/repos/CodingTrain/website/issues/678/comments","events_url":"https://api.github.com/repos/CodingTrain/website/issues/678/events","html_url":"https://github.com/CodingTrain/website/pull/678","id":345106457,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0MzQwOTI2","number":678,"title":"Adding useful features for educational purposes","user":{"login":"marshalhayes","id":17213165,"node_id":"MDQ6VXNlcjE3MjEzMTY1","avatar_url":"https://avatars0.githubusercontent.com/u/17213165?v=4","gravatar_id":"","url":"https://api.github.com/users/marshalhayes","html_url":"https://github.com/marshalhayes","followers_url":"https://api.github.com/users/marshalhayes/followers","following_url":"https://api.github.com/users/marshalhayes/following{/other_user}","gists_url":"https://api.github.com/users/marshalhayes/gists{/gist_id}","starred_url":"https://api.github.com/users/marshalhayes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marshalhayes/subscriptions","organizations_url":"https://api.github.com/users/marshalhayes/orgs","repos_url":"https://api.github.com/users/marshalhayes/repos","events_url":"https://api.github.com/users/marshalhayes/events{/privacy}","received_events_url":"https://api.github.com/users/marshalhayes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-27T06:30:13Z","updated_at":"2018-08-01T16:51:19Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/CodingTrain/website/pulls/678","html_url":"https://github.com/CodingTrain/website/pull/678","diff_url":"https://github.com/CodingTrain/website/pull/678.diff","patch_url":"https://github.com/CodingTrain/website/pull/678.patch"},"body":"This pull request adds a few features which may be useful for educational purposes. These features include:\r\n- Generate data and fit line soon after page load\r\n- Button to print data `x` and `y` values\r\n- Show line equation `y = ${m}x + ${b}` when printing data\r\n\r\nIn addition to the above, I am also using `tf.train.adam(0.09)` with `x, y` mapping between `[-1, 1]`. I found that seeing the line react when adding data points can be entertaining and interesting, at least.\r\n\r\nI plan to add UI elements to change the learning rate and optimizer soon, if time permits. \r\n\r\nMeanwhile, you can see a working version at [marshal.cool/js-linear-regression](https://marshal.cool/js-linear-regression)."},"comment":{"url":"https://api.github.com/repos/CodingTrain/website/issues/comments/409643771","html_url":"https://github.com/CodingTrain/website/pull/678#issuecomment-409643771","issue_url":"https://api.github.com/repos/CodingTrain/website/issues/678","id":409643771,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTY0Mzc3MQ==","user":{"login":"shiffman","id":191758,"node_id":"MDQ6VXNlcjE5MTc1OA==","avatar_url":"https://avatars0.githubusercontent.com/u/191758?v=4","gravatar_id":"","url":"https://api.github.com/users/shiffman","html_url":"https://github.com/shiffman","followers_url":"https://api.github.com/users/shiffman/followers","following_url":"https://api.github.com/users/shiffman/following{/other_user}","gists_url":"https://api.github.com/users/shiffman/gists{/gist_id}","starred_url":"https://api.github.com/users/shiffman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shiffman/subscriptions","organizations_url":"https://api.github.com/users/shiffman/orgs","repos_url":"https://api.github.com/users/shiffman/repos","events_url":"https://api.github.com/users/shiffman/events{/privacy}","received_events_url":"https://api.github.com/users/shiffman/received_events","type":"User","site_admin":false},"created_at":"2018-08-01T16:51:19Z","updated_at":"2018-08-01T16:51:19Z","author_association":"COLLABORATOR","body":"Hi @marshalhayes! This is fantastic work! 🎉  However, with the exception of minor style tweaks and bug fixes, I am trying to keep the code here \"as is\" so that it matches the video tutorials exactly. I think the work you are doing would make more sense as a \"community contribution\" that would like out from the challenge page itself? More info is on the wiki. \r\n\r\nhttps://github.com/CodingTrain/website/wiki\r\n\r\nDoes this make sense to you?\r\n \r\n\r\n"}}
{"actor":{"display_login":"shiffman"}}