{"action":"created","issue":{"url":"https://api.github.com/repos/JohnsonHsieh/DSC2016-R/issues/4","repository_url":"https://api.github.com/repos/JohnsonHsieh/DSC2016-R","labels_url":"https://api.github.com/repos/JohnsonHsieh/DSC2016-R/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/JohnsonHsieh/DSC2016-R/issues/4/comments","events_url":"https://api.github.com/repos/JohnsonHsieh/DSC2016-R/issues/4/events","html_url":"https://github.com/JohnsonHsieh/DSC2016-R/issues/4","id":165508660,"number":4,"title":"[Typo] 08-RDataMining-03-Classification > scripts > ml-05.R ","user":{"login":"JohnsonHsieh","id":1272783,"avatar_url":"https://avatars.githubusercontent.com/u/1272783?v=3","gravatar_id":"","url":"https://api.github.com/users/JohnsonHsieh","html_url":"https://github.com/JohnsonHsieh","followers_url":"https://api.github.com/users/JohnsonHsieh/followers","following_url":"https://api.github.com/users/JohnsonHsieh/following{/other_user}","gists_url":"https://api.github.com/users/JohnsonHsieh/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnsonHsieh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnsonHsieh/subscriptions","organizations_url":"https://api.github.com/users/JohnsonHsieh/orgs","repos_url":"https://api.github.com/users/JohnsonHsieh/repos","events_url":"https://api.github.com/users/JohnsonHsieh/events{/privacy}","received_events_url":"https://api.github.com/users/JohnsonHsieh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-14T08:43:14Z","updated_at":"2016-07-14T09:20:12Z","closed_at":"2016-07-14T09:20:12Z","body":"原始版\r\n```\r\nstopifnot(class(answer_05) == c(\"rpart\"))\r\nif (interactive()) {\r\n  stopifnot(local({\r\n    p <- predict(answer_05, df.test)[,\"good\"]\r\n    logloss(df.test$Class == \"good\", p)\r\n  }))\r\n}\r\n```\r\n\r\n修正版\r\n```\r\nstopifnot(class(answer_05) == c(\"rpart\"))\r\nif (interactive()) {\r\n  stopifnot(local({\r\n    p <- predict(answer_05, df.test)[,\"good\"]\r\n    logloss(df.test$Class == \"good\", p) < 12\r\n  }))\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/JohnsonHsieh/DSC2016-R/issues/comments/232612436","html_url":"https://github.com/JohnsonHsieh/DSC2016-R/issues/4#issuecomment-232612436","issue_url":"https://api.github.com/repos/JohnsonHsieh/DSC2016-R/issues/4","id":232612436,"user":{"login":"JohnsonHsieh","id":1272783,"avatar_url":"https://avatars.githubusercontent.com/u/1272783?v=3","gravatar_id":"","url":"https://api.github.com/users/JohnsonHsieh","html_url":"https://github.com/JohnsonHsieh","followers_url":"https://api.github.com/users/JohnsonHsieh/followers","following_url":"https://api.github.com/users/JohnsonHsieh/following{/other_user}","gists_url":"https://api.github.com/users/JohnsonHsieh/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnsonHsieh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnsonHsieh/subscriptions","organizations_url":"https://api.github.com/users/JohnsonHsieh/orgs","repos_url":"https://api.github.com/users/JohnsonHsieh/repos","events_url":"https://api.github.com/users/JohnsonHsieh/events{/privacy}","received_events_url":"https://api.github.com/users/JohnsonHsieh/received_events","type":"User","site_admin":false},"created_at":"2016-07-14T09:20:12Z","updated_at":"2016-07-14T09:20:12Z","body":"Fixed"}}
{"actor":{"display_login":"JohnsonHsieh"}}