{"action":"created","comment":{"url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/pulls/comments/355642595","pull_request_review_id":329167258,"id":355642595,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDM1NTY0MjU5NQ==","diff_hunk":"@@ -18,17 +18,20 @@\n \n import os\n \n-#########\n-## Loads  pretrained MNIST model\n-## Learns manifold on data\n-## Creates adversarial images\n-## Tests adversarial images on model\n-#########\n+'''\n+Loads  pretrained MNIST model\n+Loads manifold from file\n+Creates adversarial image\n+Tests adversarial image on model\n+Displays results\n+'''\n \n WIDTH = 28\n HEIGHT = 28\n EPSILON = 0.15  # example values: low = .01, high = .15\n PATH_TO_MODEL = \"models/mnist_model.h5\"\n+MANIFOLD_FILE = \"mnist-lle-60000-2d-2\"\n+MANIFOLD_SIZE = 60000  # The number of points in the manifold; used for visalization colors\n \n \n def convert_to_model(seq_model):","path":"manifold/mnist_manifold.py","position":26,"original_position":26,"commit_id":"7b24e485ede27f6fbc5c15b58abceb945747698b","original_commit_id":"7b24e485ede27f6fbc5c15b58abceb945747698b","user":{"login":"kteavery","id":22871638,"node_id":"MDQ6VXNlcjIyODcxNjM4","avatar_url":"https://avatars0.githubusercontent.com/u/22871638?v=4","gravatar_id":"","url":"https://api.github.com/users/kteavery","html_url":"https://github.com/kteavery","followers_url":"https://api.github.com/users/kteavery/followers","following_url":"https://api.github.com/users/kteavery/following{/other_user}","gists_url":"https://api.github.com/users/kteavery/gists{/gist_id}","starred_url":"https://api.github.com/users/kteavery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kteavery/subscriptions","organizations_url":"https://api.github.com/users/kteavery/orgs","repos_url":"https://api.github.com/users/kteavery/repos","events_url":"https://api.github.com/users/kteavery/events{/privacy}","received_events_url":"https://api.github.com/users/kteavery/received_events","type":"User","site_admin":false},"body":"do we need convert_to_model() in two places, or could we import? ","created_at":"2019-12-09T19:34:41Z","updated_at":"2019-12-09T19:38:42Z","html_url":"https://github.com/mghirsch42/CS5173-ManifoldLearning/pull/15#discussion_r355642595","pull_request_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/pulls/15","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/pulls/comments/355642595"},"html":{"href":"https://github.com/mghirsch42/CS5173-ManifoldLearning/pull/15#discussion_r355642595"},"pull_request":{"href":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/pulls/15","id":350943103,"node_id":"MDExOlB1bGxSZXF1ZXN0MzUwOTQzMTAz","html_url":"https://github.com/mghirsch42/CS5173-ManifoldLearning/pull/15","diff_url":"https://github.com/mghirsch42/CS5173-ManifoldLearning/pull/15.diff","patch_url":"https://github.com/mghirsch42/CS5173-ManifoldLearning/pull/15.patch","issue_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/issues/15","number":15,"state":"open","locked":false,"title":"Final cleaning","user":{"login":"mghirsch42","id":22297772,"node_id":"MDQ6VXNlcjIyMjk3Nzcy","avatar_url":"https://avatars3.githubusercontent.com/u/22297772?v=4","gravatar_id":"","url":"https://api.github.com/users/mghirsch42","html_url":"https://github.com/mghirsch42","followers_url":"https://api.github.com/users/mghirsch42/followers","following_url":"https://api.github.com/users/mghirsch42/following{/other_user}","gists_url":"https://api.github.com/users/mghirsch42/gists{/gist_id}","starred_url":"https://api.github.com/users/mghirsch42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mghirsch42/subscriptions","organizations_url":"https://api.github.com/users/mghirsch42/orgs","repos_url":"https://api.github.com/users/mghirsch42/repos","events_url":"https://api.github.com/users/mghirsch42/events{/privacy}","received_events_url":"https://api.github.com/users/mghirsch42/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-12-09T19:30:42Z","updated_at":"2019-12-09T19:38:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7c2e746927147be01965a39b488be9c6e8f9b6ab","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/pulls/15/commits","review_comments_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/pulls/15/comments","review_comment_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/issues/15/comments","statuses_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/statuses/7b24e485ede27f6fbc5c15b58abceb945747698b","head":{"label":"mghirsch42:final-cleaning","ref":"final-cleaning","sha":"7b24e485ede27f6fbc5c15b58abceb945747698b","user":{"login":"mghirsch42","id":22297772,"node_id":"MDQ6VXNlcjIyMjk3Nzcy","avatar_url":"https://avatars3.githubusercontent.com/u/22297772?v=4","gravatar_id":"","url":"https://api.github.com/users/mghirsch42","html_url":"https://github.com/mghirsch42","followers_url":"https://api.github.com/users/mghirsch42/followers","following_url":"https://api.github.com/users/mghirsch42/following{/other_user}","gists_url":"https://api.github.com/users/mghirsch42/gists{/gist_id}","starred_url":"https://api.github.com/users/mghirsch42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mghirsch42/subscriptions","organizations_url":"https://api.github.com/users/mghirsch42/orgs","repos_url":"https://api.github.com/users/mghirsch42/repos","events_url":"https://api.github.com/users/mghirsch42/events{/privacy}","received_events_url":"https://api.github.com/users/mghirsch42/received_events","type":"User","site_admin":false},"repo":{"id":213421011,"node_id":"MDEwOlJlcG9zaXRvcnkyMTM0MjEwMTE=","name":"CS5173-ManifoldLearning","full_name":"mghirsch42/CS5173-ManifoldLearning","private":false,"owner":{"login":"mghirsch42","id":22297772,"node_id":"MDQ6VXNlcjIyMjk3Nzcy","avatar_url":"https://avatars3.githubusercontent.com/u/22297772?v=4","gravatar_id":"","url":"https://api.github.com/users/mghirsch42","html_url":"https://github.com/mghirsch42","followers_url":"https://api.github.com/users/mghirsch42/followers","following_url":"https://api.github.com/users/mghirsch42/following{/other_user}","gists_url":"https://api.github.com/users/mghirsch42/gists{/gist_id}","starred_url":"https://api.github.com/users/mghirsch42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mghirsch42/subscriptions","organizations_url":"https://api.github.com/users/mghirsch42/orgs","repos_url":"https://api.github.com/users/mghirsch42/repos","events_url":"https://api.github.com/users/mghirsch42/events{/privacy}","received_events_url":"https://api.github.com/users/mghirsch42/received_events","type":"User","site_admin":false},"html_url":"https://github.com/mghirsch42/CS5173-ManifoldLearning","description":null,"fork":false,"url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning","forks_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/forks","keys_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/teams","hooks_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/hooks","issue_events_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/issues/events{/number}","events_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/events","assignees_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/assignees{/user}","branches_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/branches{/branch}","tags_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/tags","blobs_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/git/refs{/sha}","trees_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/statuses/{sha}","languages_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/languages","stargazers_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/stargazers","contributors_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/contributors","subscribers_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/subscribers","subscription_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/subscription","commits_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/commits{/sha}","git_commits_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/git/commits{/sha}","comments_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/comments{/number}","issue_comment_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/issues/comments{/number}","contents_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/contents/{+path}","compare_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/merges","archive_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/downloads","issues_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/issues{/number}","pulls_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/pulls{/number}","milestones_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/milestones{/number}","notifications_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/labels{/name}","releases_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/releases{/id}","deployments_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/deployments","created_at":"2019-10-07T15:33:53Z","updated_at":"2019-12-08T17:42:59Z","pushed_at":"2019-12-09T19:30:42Z","git_url":"git://github.com/mghirsch42/CS5173-ManifoldLearning.git","ssh_url":"git@github.com:mghirsch42/CS5173-ManifoldLearning.git","clone_url":"https://github.com/mghirsch42/CS5173-ManifoldLearning.git","svn_url":"https://github.com/mghirsch42/CS5173-ManifoldLearning","homepage":null,"size":58,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"mghirsch42:master","ref":"master","sha":"ad7a8e722dd1169250b669d1850de1459ec043a1","user":{"login":"mghirsch42","id":22297772,"node_id":"MDQ6VXNlcjIyMjk3Nzcy","avatar_url":"https://avatars3.githubusercontent.com/u/22297772?v=4","gravatar_id":"","url":"https://api.github.com/users/mghirsch42","html_url":"https://github.com/mghirsch42","followers_url":"https://api.github.com/users/mghirsch42/followers","following_url":"https://api.github.com/users/mghirsch42/following{/other_user}","gists_url":"https://api.github.com/users/mghirsch42/gists{/gist_id}","starred_url":"https://api.github.com/users/mghirsch42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mghirsch42/subscriptions","organizations_url":"https://api.github.com/users/mghirsch42/orgs","repos_url":"https://api.github.com/users/mghirsch42/repos","events_url":"https://api.github.com/users/mghirsch42/events{/privacy}","received_events_url":"https://api.github.com/users/mghirsch42/received_events","type":"User","site_admin":false},"repo":{"id":213421011,"node_id":"MDEwOlJlcG9zaXRvcnkyMTM0MjEwMTE=","name":"CS5173-ManifoldLearning","full_name":"mghirsch42/CS5173-ManifoldLearning","private":false,"owner":{"login":"mghirsch42","id":22297772,"node_id":"MDQ6VXNlcjIyMjk3Nzcy","avatar_url":"https://avatars3.githubusercontent.com/u/22297772?v=4","gravatar_id":"","url":"https://api.github.com/users/mghirsch42","html_url":"https://github.com/mghirsch42","followers_url":"https://api.github.com/users/mghirsch42/followers","following_url":"https://api.github.com/users/mghirsch42/following{/other_user}","gists_url":"https://api.github.com/users/mghirsch42/gists{/gist_id}","starred_url":"https://api.github.com/users/mghirsch42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mghirsch42/subscriptions","organizations_url":"https://api.github.com/users/mghirsch42/orgs","repos_url":"https://api.github.com/users/mghirsch42/repos","events_url":"https://api.github.com/users/mghirsch42/events{/privacy}","received_events_url":"https://api.github.com/users/mghirsch42/received_events","type":"User","site_admin":false},"html_url":"https://github.com/mghirsch42/CS5173-ManifoldLearning","description":null,"fork":false,"url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning","forks_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/forks","keys_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/teams","hooks_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/hooks","issue_events_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/issues/events{/number}","events_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/events","assignees_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/assignees{/user}","branches_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/branches{/branch}","tags_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/tags","blobs_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/git/refs{/sha}","trees_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/statuses/{sha}","languages_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/languages","stargazers_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/stargazers","contributors_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/contributors","subscribers_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/subscribers","subscription_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/subscription","commits_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/commits{/sha}","git_commits_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/git/commits{/sha}","comments_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/comments{/number}","issue_comment_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/issues/comments{/number}","contents_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/contents/{+path}","compare_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/merges","archive_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/downloads","issues_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/issues{/number}","pulls_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/pulls{/number}","milestones_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/milestones{/number}","notifications_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/labels{/name}","releases_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/releases{/id}","deployments_url":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/deployments","created_at":"2019-10-07T15:33:53Z","updated_at":"2019-12-08T17:42:59Z","pushed_at":"2019-12-09T19:30:42Z","git_url":"git://github.com/mghirsch42/CS5173-ManifoldLearning.git","ssh_url":"git@github.com:mghirsch42/CS5173-ManifoldLearning.git","clone_url":"https://github.com/mghirsch42/CS5173-ManifoldLearning.git","svn_url":"https://github.com/mghirsch42/CS5173-ManifoldLearning","homepage":null,"size":58,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/pulls/15"},"html":{"href":"https://github.com/mghirsch42/CS5173-ManifoldLearning/pull/15"},"issue":{"href":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/issues/15"},"comments":{"href":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/mghirsch42/CS5173-ManifoldLearning/statuses/7b24e485ede27f6fbc5c15b58abceb945747698b"}},"author_association":"OWNER"}}
{"actor":{"display_login":"kteavery"}}