{"action":"opened","issue":{"url":"https://api.github.com/repos/rasbt/python-machine-learning-book/issues/58","repository_url":"https://api.github.com/repos/rasbt/python-machine-learning-book","labels_url":"https://api.github.com/repos/rasbt/python-machine-learning-book/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/rasbt/python-machine-learning-book/issues/58/comments","events_url":"https://api.github.com/repos/rasbt/python-machine-learning-book/issues/58/events","html_url":"https://github.com/rasbt/python-machine-learning-book/issues/58","id":246540012,"number":58,"title":"typo in chapter 12","user":{"login":"novel-yet-trivial","id":23124853,"avatar_url":"https://avatars0.githubusercontent.com/u/23124853?v=4","gravatar_id":"","url":"https://api.github.com/users/novel-yet-trivial","html_url":"https://github.com/novel-yet-trivial","followers_url":"https://api.github.com/users/novel-yet-trivial/followers","following_url":"https://api.github.com/users/novel-yet-trivial/following{/other_user}","gists_url":"https://api.github.com/users/novel-yet-trivial/gists{/gist_id}","starred_url":"https://api.github.com/users/novel-yet-trivial/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/novel-yet-trivial/subscriptions","organizations_url":"https://api.github.com/users/novel-yet-trivial/orgs","repos_url":"https://api.github.com/users/novel-yet-trivial/repos","events_url":"https://api.github.com/users/novel-yet-trivial/events{/privacy}","received_events_url":"https://api.github.com/users/novel-yet-trivial/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-29T19:17:38Z","updated_at":"2017-07-29T19:17:38Z","closed_at":null,"body":"In [this file](https://github.com/rasbt/python-machine-learning-book/blob/master/code/ch12/ch12.ipynb), the code loads the names as \r\n\r\n    labels_path = os.path.join(path, \r\n                               '%s-labels-idx1-ubyte' % kind)\r\n    images_path = os.path.join(path, \r\n                               '%s-images-idx3-ubyte' % kind)\r\n\r\nHowever the linked .gz file has the names with a period, not a hyphen. It should be\r\n\r\n\r\n    labels_path = os.path.join(path, \r\n                               '%s-labels.idx1-ubyte' % kind)\r\n    images_path = os.path.join(path, \r\n                               '%s-images.idx3-ubyte' % kind)\r\n\r\nhttps://www.reddit.com/r/learnpython/comments/6qc9t1/path_to_existing_file_in_root_folder_not_found_on/"}}
{"actor":{"display_login":"novel-yet-trivial"}}