{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/chili-epfl/allograph/pulls/1","id":74248846,"html_url":"https://github.com/chili-epfl/allograph/pull/1","diff_url":"https://github.com/chili-epfl/allograph/pull/1.diff","patch_url":"https://github.com/chili-epfl/allograph/pull/1.patch","issue_url":"https://api.github.com/repos/chili-epfl/allograph/issues/1","number":1,"state":"closed","locked":false,"title":"Semester project Guillaume DE VECCHI","user":{"login":"GuiGui1310","id":7648429,"avatar_url":"https://avatars.githubusercontent.com/u/7648429?v=3","gravatar_id":"","url":"https://api.github.com/users/GuiGui1310","html_url":"https://github.com/GuiGui1310","followers_url":"https://api.github.com/users/GuiGui1310/followers","following_url":"https://api.github.com/users/GuiGui1310/following{/other_user}","gists_url":"https://api.github.com/users/GuiGui1310/gists{/gist_id}","starred_url":"https://api.github.com/users/GuiGui1310/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuiGui1310/subscriptions","organizations_url":"https://api.github.com/users/GuiGui1310/orgs","repos_url":"https://api.github.com/users/GuiGui1310/repos","events_url":"https://api.github.com/users/GuiGui1310/events{/privacy}","received_events_url":"https://api.github.com/users/GuiGui1310/received_events","type":"User","site_admin":false},"body":"Added:\r\n1. In **stroke.py**: \r\n\r\n-  _strokeToImage_: that convert a stroke to an image\r\n-  _childDemoFromRobotStroke_: get the children strokes from the robot strokes\r\n- _strokeToArray_: convert a stroke into an array (all the x, then all the y)\r\n- _arrayToStroke_: inverse of strokeToArray\r\n- _clusterize_: clusterize the given dataSet (of arrays)\r\n- _classify:_ classify the given dataSet (of arrays)\r\n- _performPCA_: perform PCA on the given dataSet\r\n- _project and projectBack_: project a letter onto the eigenSpace and opposite\r\n- _projectCentroids:_ projects the centroids of the given estimator using project\r\n- _projectClusters_: projects the letters of each cluster using project\r\n- _getMoreImportantDimension_: get the most important eigenVector for every cluster of the given estimator for a given data set.\r\n- _modifyCoordinates_: take a stroke, deform it according to the most important dimension and return the resulted stroke.\r\n- _modifyCoordinatesRandom_: take a stroke, deform it randomly with a factor of 0.2 and return the resulted stroke. \r\n\r\n2. In **learning_manager.py**: \r\nAdded the mode PCA_cluster that uses the algorithm\r\n\r\n3. In the folder **Final Algorithm:**\r\n Classes describing each one variation of the algorithm. Those classes are the result of my work before adaptation for allograph in stroke.py and learning_manager.py.\r\n\r\n\r\n","created_at":"2016-06-17T14:13:22Z","updated_at":"2016-06-17T14:55:58Z","closed_at":"2016-06-17T14:55:58Z","merged_at":"2016-06-17T14:55:58Z","merge_commit_sha":"b02d07df5f1fb2e9cf1b82a506a66c639199ba73","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/chili-epfl/allograph/pulls/1/commits","review_comments_url":"https://api.github.com/repos/chili-epfl/allograph/pulls/1/comments","review_comment_url":"https://api.github.com/repos/chili-epfl/allograph/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chili-epfl/allograph/issues/1/comments","statuses_url":"https://api.github.com/repos/chili-epfl/allograph/statuses/8a2bf2337e6f9bda07066100978e1f9dc76a061b","head":{"label":"GuiGui1310:master","ref":"master","sha":"8a2bf2337e6f9bda07066100978e1f9dc76a061b","user":{"login":"GuiGui1310","id":7648429,"avatar_url":"https://avatars.githubusercontent.com/u/7648429?v=3","gravatar_id":"","url":"https://api.github.com/users/GuiGui1310","html_url":"https://github.com/GuiGui1310","followers_url":"https://api.github.com/users/GuiGui1310/followers","following_url":"https://api.github.com/users/GuiGui1310/following{/other_user}","gists_url":"https://api.github.com/users/GuiGui1310/gists{/gist_id}","starred_url":"https://api.github.com/users/GuiGui1310/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuiGui1310/subscriptions","organizations_url":"https://api.github.com/users/GuiGui1310/orgs","repos_url":"https://api.github.com/users/GuiGui1310/repos","events_url":"https://api.github.com/users/GuiGui1310/events{/privacy}","received_events_url":"https://api.github.com/users/GuiGui1310/received_events","type":"User","site_admin":false},"repo":{"id":52543023,"name":"allograph","full_name":"GuiGui1310/allograph","owner":{"login":"GuiGui1310","id":7648429,"avatar_url":"https://avatars.githubusercontent.com/u/7648429?v=3","gravatar_id":"","url":"https://api.github.com/users/GuiGui1310","html_url":"https://github.com/GuiGui1310","followers_url":"https://api.github.com/users/GuiGui1310/followers","following_url":"https://api.github.com/users/GuiGui1310/following{/other_user}","gists_url":"https://api.github.com/users/GuiGui1310/gists{/gist_id}","starred_url":"https://api.github.com/users/GuiGui1310/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuiGui1310/subscriptions","organizations_url":"https://api.github.com/users/GuiGui1310/orgs","repos_url":"https://api.github.com/users/GuiGui1310/repos","events_url":"https://api.github.com/users/GuiGui1310/events{/privacy}","received_events_url":"https://api.github.com/users/GuiGui1310/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/GuiGui1310/allograph","description":"Library for learning handwritten letters from user demonstration","fork":true,"url":"https://api.github.com/repos/GuiGui1310/allograph","forks_url":"https://api.github.com/repos/GuiGui1310/allograph/forks","keys_url":"https://api.github.com/repos/GuiGui1310/allograph/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GuiGui1310/allograph/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GuiGui1310/allograph/teams","hooks_url":"https://api.github.com/repos/GuiGui1310/allograph/hooks","issue_events_url":"https://api.github.com/repos/GuiGui1310/allograph/issues/events{/number}","events_url":"https://api.github.com/repos/GuiGui1310/allograph/events","assignees_url":"https://api.github.com/repos/GuiGui1310/allograph/assignees{/user}","branches_url":"https://api.github.com/repos/GuiGui1310/allograph/branches{/branch}","tags_url":"https://api.github.com/repos/GuiGui1310/allograph/tags","blobs_url":"https://api.github.com/repos/GuiGui1310/allograph/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GuiGui1310/allograph/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GuiGui1310/allograph/git/refs{/sha}","trees_url":"https://api.github.com/repos/GuiGui1310/allograph/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GuiGui1310/allograph/statuses/{sha}","languages_url":"https://api.github.com/repos/GuiGui1310/allograph/languages","stargazers_url":"https://api.github.com/repos/GuiGui1310/allograph/stargazers","contributors_url":"https://api.github.com/repos/GuiGui1310/allograph/contributors","subscribers_url":"https://api.github.com/repos/GuiGui1310/allograph/subscribers","subscription_url":"https://api.github.com/repos/GuiGui1310/allograph/subscription","commits_url":"https://api.github.com/repos/GuiGui1310/allograph/commits{/sha}","git_commits_url":"https://api.github.com/repos/GuiGui1310/allograph/git/commits{/sha}","comments_url":"https://api.github.com/repos/GuiGui1310/allograph/comments{/number}","issue_comment_url":"https://api.github.com/repos/GuiGui1310/allograph/issues/comments{/number}","contents_url":"https://api.github.com/repos/GuiGui1310/allograph/contents/{+path}","compare_url":"https://api.github.com/repos/GuiGui1310/allograph/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GuiGui1310/allograph/merges","archive_url":"https://api.github.com/repos/GuiGui1310/allograph/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GuiGui1310/allograph/downloads","issues_url":"https://api.github.com/repos/GuiGui1310/allograph/issues{/number}","pulls_url":"https://api.github.com/repos/GuiGui1310/allograph/pulls{/number}","milestones_url":"https://api.github.com/repos/GuiGui1310/allograph/milestones{/number}","notifications_url":"https://api.github.com/repos/GuiGui1310/allograph/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GuiGui1310/allograph/labels{/name}","releases_url":"https://api.github.com/repos/GuiGui1310/allograph/releases{/id}","deployments_url":"https://api.github.com/repos/GuiGui1310/allograph/deployments","created_at":"2016-02-25T17:21:32Z","updated_at":"2016-02-25T17:21:37Z","pushed_at":"2016-06-17T13:50:07Z","git_url":"git://github.com/GuiGui1310/allograph.git","ssh_url":"git@github.com:GuiGui1310/allograph.git","clone_url":"https://github.com/GuiGui1310/allograph.git","svn_url":"https://github.com/GuiGui1310/allograph","homepage":null,"size":10351,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"chili-epfl:master","ref":"master","sha":"a5af42d1afae0646b8beb27594683e42390071ae","user":{"login":"chili-epfl","id":4435210,"avatar_url":"https://avatars.githubusercontent.com/u/4435210?v=3","gravatar_id":"","url":"https://api.github.com/users/chili-epfl","html_url":"https://github.com/chili-epfl","followers_url":"https://api.github.com/users/chili-epfl/followers","following_url":"https://api.github.com/users/chili-epfl/following{/other_user}","gists_url":"https://api.github.com/users/chili-epfl/gists{/gist_id}","starred_url":"https://api.github.com/users/chili-epfl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chili-epfl/subscriptions","organizations_url":"https://api.github.com/users/chili-epfl/orgs","repos_url":"https://api.github.com/users/chili-epfl/repos","events_url":"https://api.github.com/users/chili-epfl/events{/privacy}","received_events_url":"https://api.github.com/users/chili-epfl/received_events","type":"Organization","site_admin":false},"repo":{"id":39066180,"name":"allograph","full_name":"chili-epfl/allograph","owner":{"login":"chili-epfl","id":4435210,"avatar_url":"https://avatars.githubusercontent.com/u/4435210?v=3","gravatar_id":"","url":"https://api.github.com/users/chili-epfl","html_url":"https://github.com/chili-epfl","followers_url":"https://api.github.com/users/chili-epfl/followers","following_url":"https://api.github.com/users/chili-epfl/following{/other_user}","gists_url":"https://api.github.com/users/chili-epfl/gists{/gist_id}","starred_url":"https://api.github.com/users/chili-epfl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chili-epfl/subscriptions","organizations_url":"https://api.github.com/users/chili-epfl/orgs","repos_url":"https://api.github.com/users/chili-epfl/repos","events_url":"https://api.github.com/users/chili-epfl/events{/privacy}","received_events_url":"https://api.github.com/users/chili-epfl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chili-epfl/allograph","description":"Library for learning handwritten letters from user demonstration","fork":false,"url":"https://api.github.com/repos/chili-epfl/allograph","forks_url":"https://api.github.com/repos/chili-epfl/allograph/forks","keys_url":"https://api.github.com/repos/chili-epfl/allograph/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chili-epfl/allograph/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chili-epfl/allograph/teams","hooks_url":"https://api.github.com/repos/chili-epfl/allograph/hooks","issue_events_url":"https://api.github.com/repos/chili-epfl/allograph/issues/events{/number}","events_url":"https://api.github.com/repos/chili-epfl/allograph/events","assignees_url":"https://api.github.com/repos/chili-epfl/allograph/assignees{/user}","branches_url":"https://api.github.com/repos/chili-epfl/allograph/branches{/branch}","tags_url":"https://api.github.com/repos/chili-epfl/allograph/tags","blobs_url":"https://api.github.com/repos/chili-epfl/allograph/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chili-epfl/allograph/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chili-epfl/allograph/git/refs{/sha}","trees_url":"https://api.github.com/repos/chili-epfl/allograph/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chili-epfl/allograph/statuses/{sha}","languages_url":"https://api.github.com/repos/chili-epfl/allograph/languages","stargazers_url":"https://api.github.com/repos/chili-epfl/allograph/stargazers","contributors_url":"https://api.github.com/repos/chili-epfl/allograph/contributors","subscribers_url":"https://api.github.com/repos/chili-epfl/allograph/subscribers","subscription_url":"https://api.github.com/repos/chili-epfl/allograph/subscription","commits_url":"https://api.github.com/repos/chili-epfl/allograph/commits{/sha}","git_commits_url":"https://api.github.com/repos/chili-epfl/allograph/git/commits{/sha}","comments_url":"https://api.github.com/repos/chili-epfl/allograph/comments{/number}","issue_comment_url":"https://api.github.com/repos/chili-epfl/allograph/issues/comments{/number}","contents_url":"https://api.github.com/repos/chili-epfl/allograph/contents/{+path}","compare_url":"https://api.github.com/repos/chili-epfl/allograph/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chili-epfl/allograph/merges","archive_url":"https://api.github.com/repos/chili-epfl/allograph/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chili-epfl/allograph/downloads","issues_url":"https://api.github.com/repos/chili-epfl/allograph/issues{/number}","pulls_url":"https://api.github.com/repos/chili-epfl/allograph/pulls{/number}","milestones_url":"https://api.github.com/repos/chili-epfl/allograph/milestones{/number}","notifications_url":"https://api.github.com/repos/chili-epfl/allograph/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chili-epfl/allograph/labels{/name}","releases_url":"https://api.github.com/repos/chili-epfl/allograph/releases{/id}","deployments_url":"https://api.github.com/repos/chili-epfl/allograph/deployments","created_at":"2015-07-14T09:31:02Z","updated_at":"2016-01-22T14:04:39Z","pushed_at":"2016-06-17T14:55:58Z","git_url":"git://github.com/chili-epfl/allograph.git","ssh_url":"git@github.com:chili-epfl/allograph.git","clone_url":"https://github.com/chili-epfl/allograph.git","svn_url":"https://github.com/chili-epfl/allograph","homepage":null,"size":10066,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chili-epfl/allograph/pulls/1"},"html":{"href":"https://github.com/chili-epfl/allograph/pull/1"},"issue":{"href":"https://api.github.com/repos/chili-epfl/allograph/issues/1"},"comments":{"href":"https://api.github.com/repos/chili-epfl/allograph/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/chili-epfl/allograph/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/chili-epfl/allograph/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chili-epfl/allograph/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/chili-epfl/allograph/statuses/8a2bf2337e6f9bda07066100978e1f9dc76a061b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"alexis-jacq","id":9195965,"avatar_url":"https://avatars.githubusercontent.com/u/9195965?v=3","gravatar_id":"","url":"https://api.github.com/users/alexis-jacq","html_url":"https://github.com/alexis-jacq","followers_url":"https://api.github.com/users/alexis-jacq/followers","following_url":"https://api.github.com/users/alexis-jacq/following{/other_user}","gists_url":"https://api.github.com/users/alexis-jacq/gists{/gist_id}","starred_url":"https://api.github.com/users/alexis-jacq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexis-jacq/subscriptions","organizations_url":"https://api.github.com/users/alexis-jacq/orgs","repos_url":"https://api.github.com/users/alexis-jacq/repos","events_url":"https://api.github.com/users/alexis-jacq/events{/privacy}","received_events_url":"https://api.github.com/users/alexis-jacq/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":23,"additions":1743,"deletions":613,"changed_files":12}}
{"actor":{"display_login":"alexis-jacq"}}