{"action":"created","comment":{"url":"https://api.github.com/repos/mlpack/mlpack/pulls/comments/132916640","pull_request_review_id":56041442,"id":132916640,"diff_hunk":"@@ -0,0 +1,137 @@\n+/**\n+ * @file cne_test.cpp\n+ * @author Marcus Edel\n+ * @author Kartik Nighania\n+ *\n+ * Test file for CNE (Conventional Neural Evolution)\n+ *\n+ * mlpack is free software; you may redistribute it and/or modify it under the\n+ * terms of the 3-clause BSD license.  You should have received a copy of the\n+ * 3-clause BSD license along with mlpack.  If not, see\n+ * http://www.opensource.org/licenses/BSD-3-Clause for more information.\n+ */\n+#include <mlpack/core.hpp>\n+\n+#include <mlpack/methods/ann/layer/layer.hpp>\n+#include <mlpack/methods/ann/ffn.hpp>\n+\n+#include <mlpack/methods/logistic_regression/logistic_regression.hpp>\n+\n+#include <boost/test/unit_test.hpp>\n+#include \"test_tools.hpp\"\n+\n+#include <mlpack/core/optimizers/cne/cne.hpp>\n+\n+using namespace mlpack;\n+using namespace mlpack::ann;\n+using namespace mlpack::optimization;\n+\n+using namespace mlpack::distribution;\n+using namespace mlpack::regression;\n+\n+BOOST_AUTO_TEST_SUITE(CNE_Test);\n+\n+BOOST_AUTO_TEST_CASE(CNE_XOR_TEST)","path":"src/mlpack/tests/cne_test.cpp","position":34,"original_position":34,"commit_id":"535930fb13cbb6d606f4ae61a0cd1e91f64ec6ce","original_commit_id":"535930fb13cbb6d606f4ae61a0cd1e91f64ec6ce","user":{"login":"zoq","id":4209744,"avatar_url":"https://avatars3.githubusercontent.com/u/4209744?v=4","gravatar_id":"","url":"https://api.github.com/users/zoq","html_url":"https://github.com/zoq","followers_url":"https://api.github.com/users/zoq/followers","following_url":"https://api.github.com/users/zoq/following{/other_user}","gists_url":"https://api.github.com/users/zoq/gists{/gist_id}","starred_url":"https://api.github.com/users/zoq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zoq/subscriptions","organizations_url":"https://api.github.com/users/zoq/orgs","repos_url":"https://api.github.com/users/zoq/repos","events_url":"https://api.github.com/users/zoq/events{/privacy}","received_events_url":"https://api.github.com/users/zoq/received_events","type":"User","site_admin":false},"body":"Can you add a simple comment for each test that sums up what the test does?","created_at":"2017-08-14T10:13:28Z","updated_at":"2017-08-14T10:14:15Z","html_url":"https://github.com/mlpack/mlpack/pull/1088#discussion_r132916640","pull_request_url":"https://api.github.com/repos/mlpack/mlpack/pulls/1088","_links":{"self":{"href":"https://api.github.com/repos/mlpack/mlpack/pulls/comments/132916640"},"html":{"href":"https://github.com/mlpack/mlpack/pull/1088#discussion_r132916640"},"pull_request":{"href":"https://api.github.com/repos/mlpack/mlpack/pulls/1088"}}},"pull_request":{"url":"https://api.github.com/repos/mlpack/mlpack/pulls/1088","id":135000746,"html_url":"https://github.com/mlpack/mlpack/pull/1088","diff_url":"https://github.com/mlpack/mlpack/pull/1088.diff","patch_url":"https://github.com/mlpack/mlpack/pull/1088.patch","issue_url":"https://api.github.com/repos/mlpack/mlpack/issues/1088","number":1088,"state":"open","locked":false,"title":"Conventional Neural Evolution - Optimizer","user":{"login":"kartik-nighania","id":12850602,"avatar_url":"https://avatars3.githubusercontent.com/u/12850602?v=4","gravatar_id":"","url":"https://api.github.com/users/kartik-nighania","html_url":"https://github.com/kartik-nighania","followers_url":"https://api.github.com/users/kartik-nighania/followers","following_url":"https://api.github.com/users/kartik-nighania/following{/other_user}","gists_url":"https://api.github.com/users/kartik-nighania/gists{/gist_id}","starred_url":"https://api.github.com/users/kartik-nighania/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kartik-nighania/subscriptions","organizations_url":"https://api.github.com/users/kartik-nighania/orgs","repos_url":"https://api.github.com/users/kartik-nighania/repos","events_url":"https://api.github.com/users/kartik-nighania/events{/privacy}","received_events_url":"https://api.github.com/users/kartik-nighania/received_events","type":"User","site_admin":false},"body":"Works as an optimizer for vanilla network and converges using probability and evolution strategy","created_at":"2017-08-09T22:04:01Z","updated_at":"2017-08-14T10:14:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1af208a4740dc9f96fa869a7a7104afe767929cf","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/mlpack/mlpack/pulls/1088/commits","review_comments_url":"https://api.github.com/repos/mlpack/mlpack/pulls/1088/comments","review_comment_url":"https://api.github.com/repos/mlpack/mlpack/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mlpack/mlpack/issues/1088/comments","statuses_url":"https://api.github.com/repos/mlpack/mlpack/statuses/535930fb13cbb6d606f4ae61a0cd1e91f64ec6ce","head":{"label":"kartik-nighania:cne","ref":"cne","sha":"535930fb13cbb6d606f4ae61a0cd1e91f64ec6ce","user":{"login":"kartik-nighania","id":12850602,"avatar_url":"https://avatars3.githubusercontent.com/u/12850602?v=4","gravatar_id":"","url":"https://api.github.com/users/kartik-nighania","html_url":"https://github.com/kartik-nighania","followers_url":"https://api.github.com/users/kartik-nighania/followers","following_url":"https://api.github.com/users/kartik-nighania/following{/other_user}","gists_url":"https://api.github.com/users/kartik-nighania/gists{/gist_id}","starred_url":"https://api.github.com/users/kartik-nighania/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kartik-nighania/subscriptions","organizations_url":"https://api.github.com/users/kartik-nighania/orgs","repos_url":"https://api.github.com/users/kartik-nighania/repos","events_url":"https://api.github.com/users/kartik-nighania/events{/privacy}","received_events_url":"https://api.github.com/users/kartik-nighania/received_events","type":"User","site_admin":false},"repo":{"id":76486580,"name":"mlpack","full_name":"kartik-nighania/mlpack","owner":{"login":"kartik-nighania","id":12850602,"avatar_url":"https://avatars3.githubusercontent.com/u/12850602?v=4","gravatar_id":"","url":"https://api.github.com/users/kartik-nighania","html_url":"https://github.com/kartik-nighania","followers_url":"https://api.github.com/users/kartik-nighania/followers","following_url":"https://api.github.com/users/kartik-nighania/following{/other_user}","gists_url":"https://api.github.com/users/kartik-nighania/gists{/gist_id}","starred_url":"https://api.github.com/users/kartik-nighania/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kartik-nighania/subscriptions","organizations_url":"https://api.github.com/users/kartik-nighania/orgs","repos_url":"https://api.github.com/users/kartik-nighania/repos","events_url":"https://api.github.com/users/kartik-nighania/events{/privacy}","received_events_url":"https://api.github.com/users/kartik-nighania/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kartik-nighania/mlpack","description":"mlpack: a scalable C++ machine learning library","fork":true,"url":"https://api.github.com/repos/kartik-nighania/mlpack","forks_url":"https://api.github.com/repos/kartik-nighania/mlpack/forks","keys_url":"https://api.github.com/repos/kartik-nighania/mlpack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kartik-nighania/mlpack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kartik-nighania/mlpack/teams","hooks_url":"https://api.github.com/repos/kartik-nighania/mlpack/hooks","issue_events_url":"https://api.github.com/repos/kartik-nighania/mlpack/issues/events{/number}","events_url":"https://api.github.com/repos/kartik-nighania/mlpack/events","assignees_url":"https://api.github.com/repos/kartik-nighania/mlpack/assignees{/user}","branches_url":"https://api.github.com/repos/kartik-nighania/mlpack/branches{/branch}","tags_url":"https://api.github.com/repos/kartik-nighania/mlpack/tags","blobs_url":"https://api.github.com/repos/kartik-nighania/mlpack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kartik-nighania/mlpack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kartik-nighania/mlpack/git/refs{/sha}","trees_url":"https://api.github.com/repos/kartik-nighania/mlpack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kartik-nighania/mlpack/statuses/{sha}","languages_url":"https://api.github.com/repos/kartik-nighania/mlpack/languages","stargazers_url":"https://api.github.com/repos/kartik-nighania/mlpack/stargazers","contributors_url":"https://api.github.com/repos/kartik-nighania/mlpack/contributors","subscribers_url":"https://api.github.com/repos/kartik-nighania/mlpack/subscribers","subscription_url":"https://api.github.com/repos/kartik-nighania/mlpack/subscription","commits_url":"https://api.github.com/repos/kartik-nighania/mlpack/commits{/sha}","git_commits_url":"https://api.github.com/repos/kartik-nighania/mlpack/git/commits{/sha}","comments_url":"https://api.github.com/repos/kartik-nighania/mlpack/comments{/number}","issue_comment_url":"https://api.github.com/repos/kartik-nighania/mlpack/issues/comments{/number}","contents_url":"https://api.github.com/repos/kartik-nighania/mlpack/contents/{+path}","compare_url":"https://api.github.com/repos/kartik-nighania/mlpack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kartik-nighania/mlpack/merges","archive_url":"https://api.github.com/repos/kartik-nighania/mlpack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kartik-nighania/mlpack/downloads","issues_url":"https://api.github.com/repos/kartik-nighania/mlpack/issues{/number}","pulls_url":"https://api.github.com/repos/kartik-nighania/mlpack/pulls{/number}","milestones_url":"https://api.github.com/repos/kartik-nighania/mlpack/milestones{/number}","notifications_url":"https://api.github.com/repos/kartik-nighania/mlpack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kartik-nighania/mlpack/labels{/name}","releases_url":"https://api.github.com/repos/kartik-nighania/mlpack/releases{/id}","deployments_url":"https://api.github.com/repos/kartik-nighania/mlpack/deployments","created_at":"2016-12-14T18:36:06Z","updated_at":"2016-12-14T18:36:10Z","pushed_at":"2017-08-14T02:07:45Z","git_url":"git://github.com/kartik-nighania/mlpack.git","ssh_url":"git@github.com:kartik-nighania/mlpack.git","clone_url":"https://github.com/kartik-nighania/mlpack.git","svn_url":"https://github.com/kartik-nighania/mlpack","homepage":null,"size":240656,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"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":"mlpack:master","ref":"master","sha":"326a6f0c5641ea4c42e830440d1e06112572e36e","user":{"login":"mlpack","id":10216045,"avatar_url":"https://avatars0.githubusercontent.com/u/10216045?v=4","gravatar_id":"","url":"https://api.github.com/users/mlpack","html_url":"https://github.com/mlpack","followers_url":"https://api.github.com/users/mlpack/followers","following_url":"https://api.github.com/users/mlpack/following{/other_user}","gists_url":"https://api.github.com/users/mlpack/gists{/gist_id}","starred_url":"https://api.github.com/users/mlpack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlpack/subscriptions","organizations_url":"https://api.github.com/users/mlpack/orgs","repos_url":"https://api.github.com/users/mlpack/repos","events_url":"https://api.github.com/users/mlpack/events{/privacy}","received_events_url":"https://api.github.com/users/mlpack/received_events","type":"Organization","site_admin":false},"repo":{"id":28149409,"name":"mlpack","full_name":"mlpack/mlpack","owner":{"login":"mlpack","id":10216045,"avatar_url":"https://avatars0.githubusercontent.com/u/10216045?v=4","gravatar_id":"","url":"https://api.github.com/users/mlpack","html_url":"https://github.com/mlpack","followers_url":"https://api.github.com/users/mlpack/followers","following_url":"https://api.github.com/users/mlpack/following{/other_user}","gists_url":"https://api.github.com/users/mlpack/gists{/gist_id}","starred_url":"https://api.github.com/users/mlpack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlpack/subscriptions","organizations_url":"https://api.github.com/users/mlpack/orgs","repos_url":"https://api.github.com/users/mlpack/repos","events_url":"https://api.github.com/users/mlpack/events{/privacy}","received_events_url":"https://api.github.com/users/mlpack/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mlpack/mlpack","description":"mlpack: a scalable C++ machine learning library -- ","fork":false,"url":"https://api.github.com/repos/mlpack/mlpack","forks_url":"https://api.github.com/repos/mlpack/mlpack/forks","keys_url":"https://api.github.com/repos/mlpack/mlpack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mlpack/mlpack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mlpack/mlpack/teams","hooks_url":"https://api.github.com/repos/mlpack/mlpack/hooks","issue_events_url":"https://api.github.com/repos/mlpack/mlpack/issues/events{/number}","events_url":"https://api.github.com/repos/mlpack/mlpack/events","assignees_url":"https://api.github.com/repos/mlpack/mlpack/assignees{/user}","branches_url":"https://api.github.com/repos/mlpack/mlpack/branches{/branch}","tags_url":"https://api.github.com/repos/mlpack/mlpack/tags","blobs_url":"https://api.github.com/repos/mlpack/mlpack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mlpack/mlpack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mlpack/mlpack/git/refs{/sha}","trees_url":"https://api.github.com/repos/mlpack/mlpack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mlpack/mlpack/statuses/{sha}","languages_url":"https://api.github.com/repos/mlpack/mlpack/languages","stargazers_url":"https://api.github.com/repos/mlpack/mlpack/stargazers","contributors_url":"https://api.github.com/repos/mlpack/mlpack/contributors","subscribers_url":"https://api.github.com/repos/mlpack/mlpack/subscribers","subscription_url":"https://api.github.com/repos/mlpack/mlpack/subscription","commits_url":"https://api.github.com/repos/mlpack/mlpack/commits{/sha}","git_commits_url":"https://api.github.com/repos/mlpack/mlpack/git/commits{/sha}","comments_url":"https://api.github.com/repos/mlpack/mlpack/comments{/number}","issue_comment_url":"https://api.github.com/repos/mlpack/mlpack/issues/comments{/number}","contents_url":"https://api.github.com/repos/mlpack/mlpack/contents/{+path}","compare_url":"https://api.github.com/repos/mlpack/mlpack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mlpack/mlpack/merges","archive_url":"https://api.github.com/repos/mlpack/mlpack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mlpack/mlpack/downloads","issues_url":"https://api.github.com/repos/mlpack/mlpack/issues{/number}","pulls_url":"https://api.github.com/repos/mlpack/mlpack/pulls{/number}","milestones_url":"https://api.github.com/repos/mlpack/mlpack/milestones{/number}","notifications_url":"https://api.github.com/repos/mlpack/mlpack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mlpack/mlpack/labels{/name}","releases_url":"https://api.github.com/repos/mlpack/mlpack/releases{/id}","deployments_url":"https://api.github.com/repos/mlpack/mlpack/deployments","created_at":"2014-12-17T18:16:59Z","updated_at":"2017-08-14T09:10:11Z","pushed_at":"2017-08-14T04:05:53Z","git_url":"git://github.com/mlpack/mlpack.git","ssh_url":"git@github.com:mlpack/mlpack.git","clone_url":"https://github.com/mlpack/mlpack.git","svn_url":"https://github.com/mlpack/mlpack","homepage":"http://www.mlpack.org/","size":240683,"stargazers_count":1612,"watchers_count":1612,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":600,"mirror_url":null,"open_issues_count":101,"forks":600,"open_issues":101,"watchers":1612,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mlpack/mlpack/pulls/1088"},"html":{"href":"https://github.com/mlpack/mlpack/pull/1088"},"issue":{"href":"https://api.github.com/repos/mlpack/mlpack/issues/1088"},"comments":{"href":"https://api.github.com/repos/mlpack/mlpack/issues/1088/comments"},"review_comments":{"href":"https://api.github.com/repos/mlpack/mlpack/pulls/1088/comments"},"review_comment":{"href":"https://api.github.com/repos/mlpack/mlpack/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mlpack/mlpack/pulls/1088/commits"},"statuses":{"href":"https://api.github.com/repos/mlpack/mlpack/statuses/535930fb13cbb6d606f4ae61a0cd1e91f64ec6ce"}}}}
{"actor":{"display_login":"zoq"}}