{"action":"created","comment":{"url":"https://api.github.com/repos/pakozm/april-ann/pulls/comments/22759949","id":22759949,"diff_hunk":"@@ -41,3 +41,58 @@ T(\"SparseDotProductTest\",\n       end\n     end\n end)\n+--\n+T(\"SparseLogistic\",","path":"packages/ann/ann/test/test-sparse.lua","position":5,"original_position":5,"commit_id":"17d51826cb175326cf360b0b021f239570690c13","original_commit_id":"17d51826cb175326cf360b0b021f239570690c13","user":{"login":"pakozm","id":2655921,"avatar_url":"https://avatars.githubusercontent.com/u/2655921?v=3","gravatar_id":"","url":"https://api.github.com/users/pakozm","html_url":"https://github.com/pakozm","followers_url":"https://api.github.com/users/pakozm/followers","following_url":"https://api.github.com/users/pakozm/following{/other_user}","gists_url":"https://api.github.com/users/pakozm/gists{/gist_id}","starred_url":"https://api.github.com/users/pakozm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pakozm/subscriptions","organizations_url":"https://api.github.com/users/pakozm/orgs","repos_url":"https://api.github.com/users/pakozm/repos","events_url":"https://api.github.com/users/pakozm/events{/privacy}","received_events_url":"https://api.github.com/users/pakozm/received_events","type":"User","site_admin":false},"body":"I have added this test, which uses finite differences to check the gradients computed by sparse logistic component.","created_at":"2015-01-10T16:20:03Z","updated_at":"2015-01-10T16:20:03Z","html_url":"https://github.com/pakozm/april-ann/pull/120#discussion_r22759949","pull_request_url":"https://api.github.com/repos/pakozm/april-ann/pulls/120","_links":{"self":{"href":"https://api.github.com/repos/pakozm/april-ann/pulls/comments/22759949"},"html":{"href":"https://github.com/pakozm/april-ann/pull/120#discussion_r22759949"},"pull_request":{"href":"https://api.github.com/repos/pakozm/april-ann/pulls/120"}}},"pull_request":{"url":"https://api.github.com/repos/pakozm/april-ann/pulls/120","id":27146673,"html_url":"https://github.com/pakozm/april-ann/pull/120","diff_url":"https://github.com/pakozm/april-ann/pull/120.diff","patch_url":"https://github.com/pakozm/april-ann/pull/120.patch","issue_url":"https://api.github.com/repos/pakozm/april-ann/issues/120","number":120,"state":"open","locked":false,"title":"Sparse logistic","user":{"login":"pakozm","id":2655921,"avatar_url":"https://avatars.githubusercontent.com/u/2655921?v=3","gravatar_id":"","url":"https://api.github.com/users/pakozm","html_url":"https://github.com/pakozm","followers_url":"https://api.github.com/users/pakozm/followers","following_url":"https://api.github.com/users/pakozm/following{/other_user}","gists_url":"https://api.github.com/users/pakozm/gists{/gist_id}","starred_url":"https://api.github.com/users/pakozm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pakozm/subscriptions","organizations_url":"https://api.github.com/users/pakozm/orgs","repos_url":"https://api.github.com/users/pakozm/repos","events_url":"https://api.github.com/users/pakozm/events{/privacy}","received_events_url":"https://api.github.com/users/pakozm/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-01-10T09:19:04Z","updated_at":"2015-01-10T16:20:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"46ac3af47751f099346bfeb8b4485d96900f8fe1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pakozm/april-ann/pulls/120/commits","review_comments_url":"https://api.github.com/repos/pakozm/april-ann/pulls/120/comments","review_comment_url":"https://api.github.com/repos/pakozm/april-ann/pulls/comments/{number}","comments_url":"https://api.github.com/repos/pakozm/april-ann/issues/120/comments","statuses_url":"https://api.github.com/repos/pakozm/april-ann/statuses/17d51826cb175326cf360b0b021f239570690c13","head":{"label":"pakozm:sparse_logistic","ref":"sparse_logistic","sha":"17d51826cb175326cf360b0b021f239570690c13","user":{"login":"pakozm","id":2655921,"avatar_url":"https://avatars.githubusercontent.com/u/2655921?v=3","gravatar_id":"","url":"https://api.github.com/users/pakozm","html_url":"https://github.com/pakozm","followers_url":"https://api.github.com/users/pakozm/followers","following_url":"https://api.github.com/users/pakozm/following{/other_user}","gists_url":"https://api.github.com/users/pakozm/gists{/gist_id}","starred_url":"https://api.github.com/users/pakozm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pakozm/subscriptions","organizations_url":"https://api.github.com/users/pakozm/orgs","repos_url":"https://api.github.com/users/pakozm/repos","events_url":"https://api.github.com/users/pakozm/events{/privacy}","received_events_url":"https://api.github.com/users/pakozm/received_events","type":"User","site_admin":false},"repo":{"id":6479730,"name":"april-ann","full_name":"pakozm/april-ann","owner":{"login":"pakozm","id":2655921,"avatar_url":"https://avatars.githubusercontent.com/u/2655921?v=3","gravatar_id":"","url":"https://api.github.com/users/pakozm","html_url":"https://github.com/pakozm","followers_url":"https://api.github.com/users/pakozm/followers","following_url":"https://api.github.com/users/pakozm/following{/other_user}","gists_url":"https://api.github.com/users/pakozm/gists{/gist_id}","starred_url":"https://api.github.com/users/pakozm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pakozm/subscriptions","organizations_url":"https://api.github.com/users/pakozm/orgs","repos_url":"https://api.github.com/users/pakozm/repos","events_url":"https://api.github.com/users/pakozm/events{/privacy}","received_events_url":"https://api.github.com/users/pakozm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pakozm/april-ann","description":"APRIL-ANN toolkit (A Pattern Recognizer In Lua with ANNs). This toolkit incorporates ANN algorithms (as dropout, stacked denoising auto-encoders, convolutional NNs), with other pattern recognition methods as HMMs among others. Additionally, in experimental stage, it is possible to perform automatic differentiation, for advanced ML research.","fork":false,"url":"https://api.github.com/repos/pakozm/april-ann","forks_url":"https://api.github.com/repos/pakozm/april-ann/forks","keys_url":"https://api.github.com/repos/pakozm/april-ann/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pakozm/april-ann/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pakozm/april-ann/teams","hooks_url":"https://api.github.com/repos/pakozm/april-ann/hooks","issue_events_url":"https://api.github.com/repos/pakozm/april-ann/issues/events{/number}","events_url":"https://api.github.com/repos/pakozm/april-ann/events","assignees_url":"https://api.github.com/repos/pakozm/april-ann/assignees{/user}","branches_url":"https://api.github.com/repos/pakozm/april-ann/branches{/branch}","tags_url":"https://api.github.com/repos/pakozm/april-ann/tags","blobs_url":"https://api.github.com/repos/pakozm/april-ann/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pakozm/april-ann/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pakozm/april-ann/git/refs{/sha}","trees_url":"https://api.github.com/repos/pakozm/april-ann/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pakozm/april-ann/statuses/{sha}","languages_url":"https://api.github.com/repos/pakozm/april-ann/languages","stargazers_url":"https://api.github.com/repos/pakozm/april-ann/stargazers","contributors_url":"https://api.github.com/repos/pakozm/april-ann/contributors","subscribers_url":"https://api.github.com/repos/pakozm/april-ann/subscribers","subscription_url":"https://api.github.com/repos/pakozm/april-ann/subscription","commits_url":"https://api.github.com/repos/pakozm/april-ann/commits{/sha}","git_commits_url":"https://api.github.com/repos/pakozm/april-ann/git/commits{/sha}","comments_url":"https://api.github.com/repos/pakozm/april-ann/comments{/number}","issue_comment_url":"https://api.github.com/repos/pakozm/april-ann/issues/comments/{number}","contents_url":"https://api.github.com/repos/pakozm/april-ann/contents/{+path}","compare_url":"https://api.github.com/repos/pakozm/april-ann/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pakozm/april-ann/merges","archive_url":"https://api.github.com/repos/pakozm/april-ann/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pakozm/april-ann/downloads","issues_url":"https://api.github.com/repos/pakozm/april-ann/issues{/number}","pulls_url":"https://api.github.com/repos/pakozm/april-ann/pulls{/number}","milestones_url":"https://api.github.com/repos/pakozm/april-ann/milestones{/number}","notifications_url":"https://api.github.com/repos/pakozm/april-ann/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pakozm/april-ann/labels{/name}","releases_url":"https://api.github.com/repos/pakozm/april-ann/releases{/id}","created_at":"2012-10-31T19:49:13Z","updated_at":"2015-01-09T08:15:03Z","pushed_at":"2015-01-10T16:18:35Z","git_url":"git://github.com/pakozm/april-ann.git","ssh_url":"git@github.com:pakozm/april-ann.git","clone_url":"https://github.com/pakozm/april-ann.git","svn_url":"https://github.com/pakozm/april-ann","homepage":"http://pakozm.github.com/april-ann/","size":186987,"stargazers_count":38,"watchers_count":38,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":5,"mirror_url":null,"open_issues_count":11,"forks":5,"open_issues":11,"watchers":38,"default_branch":"master"}},"base":{"label":"pakozm:devel","ref":"devel","sha":"0fa8bdc3c338526031723f309917dca46c913c60","user":{"login":"pakozm","id":2655921,"avatar_url":"https://avatars.githubusercontent.com/u/2655921?v=3","gravatar_id":"","url":"https://api.github.com/users/pakozm","html_url":"https://github.com/pakozm","followers_url":"https://api.github.com/users/pakozm/followers","following_url":"https://api.github.com/users/pakozm/following{/other_user}","gists_url":"https://api.github.com/users/pakozm/gists{/gist_id}","starred_url":"https://api.github.com/users/pakozm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pakozm/subscriptions","organizations_url":"https://api.github.com/users/pakozm/orgs","repos_url":"https://api.github.com/users/pakozm/repos","events_url":"https://api.github.com/users/pakozm/events{/privacy}","received_events_url":"https://api.github.com/users/pakozm/received_events","type":"User","site_admin":false},"repo":{"id":6479730,"name":"april-ann","full_name":"pakozm/april-ann","owner":{"login":"pakozm","id":2655921,"avatar_url":"https://avatars.githubusercontent.com/u/2655921?v=3","gravatar_id":"","url":"https://api.github.com/users/pakozm","html_url":"https://github.com/pakozm","followers_url":"https://api.github.com/users/pakozm/followers","following_url":"https://api.github.com/users/pakozm/following{/other_user}","gists_url":"https://api.github.com/users/pakozm/gists{/gist_id}","starred_url":"https://api.github.com/users/pakozm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pakozm/subscriptions","organizations_url":"https://api.github.com/users/pakozm/orgs","repos_url":"https://api.github.com/users/pakozm/repos","events_url":"https://api.github.com/users/pakozm/events{/privacy}","received_events_url":"https://api.github.com/users/pakozm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pakozm/april-ann","description":"APRIL-ANN toolkit (A Pattern Recognizer In Lua with ANNs). This toolkit incorporates ANN algorithms (as dropout, stacked denoising auto-encoders, convolutional NNs), with other pattern recognition methods as HMMs among others. Additionally, in experimental stage, it is possible to perform automatic differentiation, for advanced ML research.","fork":false,"url":"https://api.github.com/repos/pakozm/april-ann","forks_url":"https://api.github.com/repos/pakozm/april-ann/forks","keys_url":"https://api.github.com/repos/pakozm/april-ann/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pakozm/april-ann/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pakozm/april-ann/teams","hooks_url":"https://api.github.com/repos/pakozm/april-ann/hooks","issue_events_url":"https://api.github.com/repos/pakozm/april-ann/issues/events{/number}","events_url":"https://api.github.com/repos/pakozm/april-ann/events","assignees_url":"https://api.github.com/repos/pakozm/april-ann/assignees{/user}","branches_url":"https://api.github.com/repos/pakozm/april-ann/branches{/branch}","tags_url":"https://api.github.com/repos/pakozm/april-ann/tags","blobs_url":"https://api.github.com/repos/pakozm/april-ann/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pakozm/april-ann/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pakozm/april-ann/git/refs{/sha}","trees_url":"https://api.github.com/repos/pakozm/april-ann/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pakozm/april-ann/statuses/{sha}","languages_url":"https://api.github.com/repos/pakozm/april-ann/languages","stargazers_url":"https://api.github.com/repos/pakozm/april-ann/stargazers","contributors_url":"https://api.github.com/repos/pakozm/april-ann/contributors","subscribers_url":"https://api.github.com/repos/pakozm/april-ann/subscribers","subscription_url":"https://api.github.com/repos/pakozm/april-ann/subscription","commits_url":"https://api.github.com/repos/pakozm/april-ann/commits{/sha}","git_commits_url":"https://api.github.com/repos/pakozm/april-ann/git/commits{/sha}","comments_url":"https://api.github.com/repos/pakozm/april-ann/comments{/number}","issue_comment_url":"https://api.github.com/repos/pakozm/april-ann/issues/comments/{number}","contents_url":"https://api.github.com/repos/pakozm/april-ann/contents/{+path}","compare_url":"https://api.github.com/repos/pakozm/april-ann/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pakozm/april-ann/merges","archive_url":"https://api.github.com/repos/pakozm/april-ann/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pakozm/april-ann/downloads","issues_url":"https://api.github.com/repos/pakozm/april-ann/issues{/number}","pulls_url":"https://api.github.com/repos/pakozm/april-ann/pulls{/number}","milestones_url":"https://api.github.com/repos/pakozm/april-ann/milestones{/number}","notifications_url":"https://api.github.com/repos/pakozm/april-ann/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pakozm/april-ann/labels{/name}","releases_url":"https://api.github.com/repos/pakozm/april-ann/releases{/id}","created_at":"2012-10-31T19:49:13Z","updated_at":"2015-01-09T08:15:03Z","pushed_at":"2015-01-10T16:18:35Z","git_url":"git://github.com/pakozm/april-ann.git","ssh_url":"git@github.com:pakozm/april-ann.git","clone_url":"https://github.com/pakozm/april-ann.git","svn_url":"https://github.com/pakozm/april-ann","homepage":"http://pakozm.github.com/april-ann/","size":186987,"stargazers_count":38,"watchers_count":38,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":5,"mirror_url":null,"open_issues_count":11,"forks":5,"open_issues":11,"watchers":38,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pakozm/april-ann/pulls/120"},"html":{"href":"https://github.com/pakozm/april-ann/pull/120"},"issue":{"href":"https://api.github.com/repos/pakozm/april-ann/issues/120"},"comments":{"href":"https://api.github.com/repos/pakozm/april-ann/issues/120/comments"},"review_comments":{"href":"https://api.github.com/repos/pakozm/april-ann/pulls/120/comments"},"review_comment":{"href":"https://api.github.com/repos/pakozm/april-ann/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/pakozm/april-ann/pulls/120/commits"},"statuses":{"href":"https://api.github.com/repos/pakozm/april-ann/statuses/17d51826cb175326cf360b0b021f239570690c13"}}}}