GitHub PullRequestEvent at 2014-05-09 17:56:22
Repository: pylearn2
Actor: chandiar
Payload: {"action":"reopened","number":814,"pull_request":{"url":"https://api.github.com/repos/lisa-lab/pylearn2/pulls/814","id":14695648,"html_url":"https://github.com/lisa-lab/pylearn2/pull/814","diff_url":"https://github.com/lisa-lab/pylearn2/pull/814.diff","patch_url":"https://github.com/lisa-lab/pylearn2/pull/814.patch","issue_url":"https://api.github.com/repos/lisa-lab/pylearn2/issues/814","number":814,"state":"open","title":"Refactor cifar10 #199","user":{"login":"chandiar","id":1489186,"avatar_url":"https://avatars.githubusercontent.com/u/1489186?","gravatar_id":"60dea68393660ce83136bf2c6fec9f4f","url":"https://api.github.com/users/chandiar","html_url":"https://github.com/chandiar","followers_url":"https://api.github.com/users/chandiar/followers","following_url":"https://api.github.com/users/chandiar/following{/other_user}","gists_url":"https://api.github.com/users/chandiar/gists{/gist_id}","starred_url":"https://api.github.com/users/chandiar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chandiar/subscriptions","organizations_url":"https://api.github.com/users/chandiar/orgs","repos_url":"https://api.github.com/users/chandiar/repos","events_url":"https://api.github.com/users/chandiar/events{/privacy}","received_events_url":"https://api.github.com/users/chandiar/received_events","type":"User","site_admin":false},"body":"In this PR, I did the following modifications to pylearn2/datasets/cifar10.py so that CIFAR10 use Preprocessor classes:\r\n1) introduced equivalent preprocessors for the options given to the CIFAR10 constructor (center, rescale, gcn and toronto_prepro)\r\n2) added a \"preprocessors\" argument to the CIFAR10 constructor\r\n3) if the existing argument is specified, we use the new preprocessor to implement it, and issue a warning\r\n\r\nThese new preprocessor classes are defined in pylearn2/datasets/preprocessing.py (at the end): TorontoPreprocessor, CenterPreprocessor and RescalePreprocessor.\r\n\r\nReference: ticket #199","created_at":"2014-04-13T16:42:10Z","updated_at":"2014-05-09T17:56:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2bc8e6b6353eaeef04f86702bbcb0367ec840f1b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lisa-lab/pylearn2/pulls/814/commits","review_comments_url":"https://api.github.com/repos/lisa-lab/pylearn2/pulls/814/comments","review_comment_url":"https://api.github.com/repos/lisa-lab/pylearn2/pulls/comments/{number}","comments_url":"https://api.github.com/repos/lisa-lab/pylearn2/issues/814/comments","statuses_url":"https://api.github.com/repos/lisa-lab/pylearn2/statuses/b200b8a32dec059f530afe6d6e89ca4b7ebcc3bd","head":{"label":"chandiar:refactor_cifar10","ref":"refactor_cifar10","sha":"b200b8a32dec059f530afe6d6e89ca4b7ebcc3bd","user":{"login":"chandiar","id":1489186,"avatar_url":"https://avatars.githubusercontent.com/u/1489186?","gravatar_id":"60dea68393660ce83136bf2c6fec9f4f","url":"https://api.github.com/users/chandiar","html_url":"https://github.com/chandiar","followers_url":"https://api.github.com/users/chandiar/followers","following_url":"https://api.github.com/users/chandiar/following{/other_user}","gists_url":"https://api.github.com/users/chandiar/gists{/gist_id}","starred_url":"https://api.github.com/users/chandiar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chandiar/subscriptions","organizations_url":"https://api.github.com/users/chandiar/orgs","repos_url":"https://api.github.com/users/chandiar/repos","events_url":"https://api.github.com/users/chandiar/events{/privacy}","received_events_url":"https://api.github.com/users/chandiar/received_events","type":"User","site_admin":false},"repo":{"id":13840913,"name":"pylearn2","full_name":"chandiar/pylearn2","owner":{"login":"chandiar","id":1489186,"avatar_url":"https://avatars.githubusercontent.com/u/1489186?","gravatar_id":"60dea68393660ce83136bf2c6fec9f4f","url":"https://api.github.com/users/chandiar","html_url":"https://github.com/chandiar","followers_url":"https://api.github.com/users/chandiar/followers","following_url":"https://api.github.com/users/chandiar/following{/other_user}","gists_url":"https://api.github.com/users/chandiar/gists{/gist_id}","starred_url":"https://api.github.com/users/chandiar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chandiar/subscriptions","organizations_url":"https://api.github.com/users/chandiar/orgs","repos_url":"https://api.github.com/users/chandiar/repos","events_url":"https://api.github.com/users/chandiar/events{/privacy}","received_events_url":"https://api.github.com/users/chandiar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chandiar/pylearn2","description":"A Machine Learning library based on Theano","fork":true,"url":"https://api.github.com/repos/chandiar/pylearn2","forks_url":"https://api.github.com/repos/chandiar/pylearn2/forks","keys_url":"https://api.github.com/repos/chandiar/pylearn2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chandiar/pylearn2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chandiar/pylearn2/teams","hooks_url":"https://api.github.com/repos/chandiar/pylearn2/hooks","issue_events_url":"https://api.github.com/repos/chandiar/pylearn2/issues/events{/number}","events_url":"https://api.github.com/repos/chandiar/pylearn2/events","assignees_url":"https://api.github.com/repos/chandiar/pylearn2/assignees{/user}","branches_url":"https://api.github.com/repos/chandiar/pylearn2/branches{/branch}","tags_url":"https://api.github.com/repos/chandiar/pylearn2/tags","blobs_url":"https://api.github.com/repos/chandiar/pylearn2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chandiar/pylearn2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chandiar/pylearn2/git/refs{/sha}","trees_url":"https://api.github.com/repos/chandiar/pylearn2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chandiar/pylearn2/statuses/{sha}","languages_url":"https://api.github.com/repos/chandiar/pylearn2/languages","stargazers_url":"https://api.github.com/repos/chandiar/pylearn2/stargazers","contributors_url":"https://api.github.com/repos/chandiar/pylearn2/contributors","subscribers_url":"https://api.github.com/repos/chandiar/pylearn2/subscribers","subscription_url":"https://api.github.com/repos/chandiar/pylearn2/subscription","commits_url":"https://api.github.com/repos/chandiar/pylearn2/commits{/sha}","git_commits_url":"https://api.github.com/repos/chandiar/pylearn2/git/commits{/sha}","comments_url":"https://api.github.com/repos/chandiar/pylearn2/comments{/number}","issue_comment_url":"https://api.github.com/repos/chandiar/pylearn2/issues/comments/{number}","contents_url":"https://api.github.com/repos/chandiar/pylearn2/contents/{+path}","compare_url":"https://api.github.com/repos/chandiar/pylearn2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chandiar/pylearn2/merges","archive_url":"https://api.github.com/repos/chandiar/pylearn2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chandiar/pylearn2/downloads","issues_url":"https://api.github.com/repos/chandiar/pylearn2/issues{/number}","pulls_url":"https://api.github.com/repos/chandiar/pylearn2/pulls{/number}","milestones_url":"https://api.github.com/repos/chandiar/pylearn2/milestones{/number}","notifications_url":"https://api.github.com/repos/chandiar/pylearn2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chandiar/pylearn2/labels{/name}","releases_url":"https://api.github.com/repos/chandiar/pylearn2/releases{/id}","created_at":"2013-10-24T18:43:11Z","updated_at":"2014-05-09T17:56:22Z","pushed_at":"2014-05-09T17:55:39Z","git_url":"git://github.com/chandiar/pylearn2.git","ssh_url":"git@github.com:chandiar/pylearn2.git","clone_url":"https://github.com/chandiar/pylearn2.git","svn_url":"https://github.com/chandiar/pylearn2","homepage":"","size":8050,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"lisa-lab:master","ref":"master","sha":"96d73480b106546a8fba15a9cf1c0f5fc7112c65","user":{"login":"lisa-lab","id":178109,"avatar_url":"https://avatars.githubusercontent.com/u/178109?","gravatar_id":"ffe37bd72b7a389a1551d6d6f21f3aaa","url":"https://api.github.com/users/lisa-lab","html_url":"https://github.com/lisa-lab","followers_url":"https://api.github.com/users/lisa-lab/followers","following_url":"https://api.github.com/users/lisa-lab/following{/other_user}","gists_url":"https://api.github.com/users/lisa-lab/gists{/gist_id}","starred_url":"https://api.github.com/users/lisa-lab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lisa-lab/subscriptions","organizations_url":"https://api.github.com/users/lisa-lab/orgs","repos_url":"https://api.github.com/users/lisa-lab/repos","events_url":"https://api.github.com/users/lisa-lab/events{/privacy}","received_events_url":"https://api.github.com/users/lisa-lab/received_events","type":"Organization","site_admin":false},"repo":{"id":1103054,"name":"pylearn2","full_name":"lisa-lab/pylearn2","owner":{"login":"lisa-lab","id":178109,"avatar_url":"https://avatars.githubusercontent.com/u/178109?","gravatar_id":"ffe37bd72b7a389a1551d6d6f21f3aaa","url":"https://api.github.com/users/lisa-lab","html_url":"https://github.com/lisa-lab","followers_url":"https://api.github.com/users/lisa-lab/followers","following_url":"https://api.github.com/users/lisa-lab/following{/other_user}","gists_url":"https://api.github.com/users/lisa-lab/gists{/gist_id}","starred_url":"https://api.github.com/users/lisa-lab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lisa-lab/subscriptions","organizations_url":"https://api.github.com/users/lisa-lab/orgs","repos_url":"https://api.github.com/users/lisa-lab/repos","events_url":"https://api.github.com/users/lisa-lab/events{/privacy}","received_events_url":"https://api.github.com/users/lisa-lab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lisa-lab/pylearn2","description":"A Machine Learning library based on Theano","fork":false,"url":"https://api.github.com/repos/lisa-lab/pylearn2","forks_url":"https://api.github.com/repos/lisa-lab/pylearn2/forks","keys_url":"https://api.github.com/repos/lisa-lab/pylearn2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lisa-lab/pylearn2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lisa-lab/pylearn2/teams","hooks_url":"https://api.github.com/repos/lisa-lab/pylearn2/hooks","issue_events_url":"https://api.github.com/repos/lisa-lab/pylearn2/issues/events{/number}","events_url":"https://api.github.com/repos/lisa-lab/pylearn2/events","assignees_url":"https://api.github.com/repos/lisa-lab/pylearn2/assignees{/user}","branches_url":"https://api.github.com/repos/lisa-lab/pylearn2/branches{/branch}","tags_url":"https://api.github.com/repos/lisa-lab/pylearn2/tags","blobs_url":"https://api.github.com/repos/lisa-lab/pylearn2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lisa-lab/pylearn2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lisa-lab/pylearn2/git/refs{/sha}","trees_url":"https://api.github.com/repos/lisa-lab/pylearn2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lisa-lab/pylearn2/statuses/{sha}","languages_url":"https://api.github.com/repos/lisa-lab/pylearn2/languages","stargazers_url":"https://api.github.com/repos/lisa-lab/pylearn2/stargazers","contributors_url":"https://api.github.com/repos/lisa-lab/pylearn2/contributors","subscribers_url":"https://api.github.com/repos/lisa-lab/pylearn2/subscribers","subscription_url":"https://api.github.com/repos/lisa-lab/pylearn2/subscription","commits_url":"https://api.github.com/repos/lisa-lab/pylearn2/commits{/sha}","git_commits_url":"https://api.github.com/repos/lisa-lab/pylearn2/git/commits{/sha}","comments_url":"https://api.github.com/repos/lisa-lab/pylearn2/comments{/number}","issue_comment_url":"https://api.github.com/repos/lisa-lab/pylearn2/issues/comments/{number}","contents_url":"https://api.github.com/repos/lisa-lab/pylearn2/contents/{+path}","compare_url":"https://api.github.com/repos/lisa-lab/pylearn2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lisa-lab/pylearn2/merges","archive_url":"https://api.github.com/repos/lisa-lab/pylearn2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lisa-lab/pylearn2/downloads","issues_url":"https://api.github.com/repos/lisa-lab/pylearn2/issues{/number}","pulls_url":"https://api.github.com/repos/lisa-lab/pylearn2/pulls{/number}","milestones_url":"https://api.github.com/repos/lisa-lab/pylearn2/milestones{/number}","notifications_url":"https://api.github.com/repos/lisa-lab/pylearn2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lisa-lab/pylearn2/labels{/name}","releases_url":"https://api.github.com/repos/lisa-lab/pylearn2/releases{/id}","created_at":"2010-11-22T18:00:50Z","updated_at":"2014-05-09T16:15:05Z","pushed_at":"2014-05-09T16:15:05Z","git_url":"git://github.com/lisa-lab/pylearn2.git","ssh_url":"git@github.com:lisa-lab/pylearn2.git","clone_url":"https://github.com/lisa-lab/pylearn2.git","svn_url":"https://github.com/lisa-lab/pylearn2","homepage":"","size":687368,"stargazers_count":745,"watchers_count":745,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":273,"mirror_url":null,"open_issues_count":137,"forks":273,"open_issues":137,"watchers":745,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lisa-lab/pylearn2/pulls/814"},"html":{"href":"https://github.com/lisa-lab/pylearn2/pull/814"},"issue":{"href":"https://api.github.com/repos/lisa-lab/pylearn2/issues/814"},"comments":{"href":"https://api.github.com/repos/lisa-lab/pylearn2/issues/814/comments"},"review_comments":{"href":"https://api.github.com/repos/lisa-lab/pylearn2/pulls/814/comments"},"review_comment":{"href":"https://api.github.com/repos/lisa-lab/pylearn2/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/lisa-lab/pylearn2/pulls/814/commits"},"statuses":{"href":"https://api.github.com/repos/lisa-lab/pylearn2/statuses/b200b8a32dec059f530afe6d6e89ca4b7ebcc3bd"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":3,"review_comments":10,"commits":8,"additions":108,"deletions":31,"changed_files":2}}