{"action":"created","comment":{"url":"https://api.github.com/repos/shogun-toolbox/shogun/pulls/comments/190529632","pull_request_review_id":122922417,"id":190529632,"diff_hunk":"@@ -0,0 +1,94 @@\n+#  Cross Validation for Binary Classifier\n+CSVFile f_feats_train(\"../../data/classifier_binary_2d_linear_features_train.dat\")\n+CSVFile f_feats_test(\"../../data/classifier_binary_2d_linear_features_test.dat\")\n+CSVFile f_labels_train(\"../../data/classifier_binary_2d_linear_labels_train.dat\")\n+CSVFile f_labels_test(\"../../data/classifier_binary_2d_linear_labels_test.dat\")\n+Math:init_random(2)\n+\n+#![create_features]\n+Features features_train = features(f_feats_train)\n+BinaryLabels labels_train(f_labels_train)","path":"examples/meta/src/evaluation/cross_validation.sg","position":10,"original_position":10,"commit_id":"cc1185dee199547b1cac9739cf3d00f03488ea30","original_commit_id":"13955ddd94bee89f8ec79be46f4f6dc37064be72","user":{"login":"karlnapf","id":699071,"avatar_url":"https://avatars0.githubusercontent.com/u/699071?v=4","gravatar_id":"","url":"https://api.github.com/users/karlnapf","html_url":"https://github.com/karlnapf","followers_url":"https://api.github.com/users/karlnapf/followers","following_url":"https://api.github.com/users/karlnapf/following{/other_user}","gists_url":"https://api.github.com/users/karlnapf/gists{/gist_id}","starred_url":"https://api.github.com/users/karlnapf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlnapf/subscriptions","organizations_url":"https://api.github.com/users/karlnapf/orgs","repos_url":"https://api.github.com/users/karlnapf/repos","events_url":"https://api.github.com/users/karlnapf/events{/privacy}","received_events_url":"https://api.github.com/users/karlnapf/received_events","type":"User","site_admin":false},"body":"As said in #4299 you will need to patch the .cpp file and convert the labels to the right type rather than asserting it.","created_at":"2018-05-24T09:57:04Z","updated_at":"2018-05-24T09:57:05Z","html_url":"https://github.com/shogun-toolbox/shogun/pull/4206#discussion_r190529632","pull_request_url":"https://api.github.com/repos/shogun-toolbox/shogun/pulls/4206","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/shogun-toolbox/shogun/pulls/comments/190529632"},"html":{"href":"https://github.com/shogun-toolbox/shogun/pull/4206#discussion_r190529632"},"pull_request":{"href":"https://api.github.com/repos/shogun-toolbox/shogun/pulls/4206"}},"in_reply_to_id":188212989},"pull_request":{"url":"https://api.github.com/repos/shogun-toolbox/shogun/pulls/4206","id":174806053,"html_url":"https://github.com/shogun-toolbox/shogun/pull/4206","diff_url":"https://github.com/shogun-toolbox/shogun/pull/4206.diff","patch_url":"https://github.com/shogun-toolbox/shogun/pull/4206.patch","issue_url":"https://api.github.com/repos/shogun-toolbox/shogun/issues/4206","number":4206,"state":"open","locked":false,"title":"Created a Cookbook for Cross Validation on Linear SVM","user":{"login":"FaroukY","id":14959028,"avatar_url":"https://avatars1.githubusercontent.com/u/14959028?v=4","gravatar_id":"","url":"https://api.github.com/users/FaroukY","html_url":"https://github.com/FaroukY","followers_url":"https://api.github.com/users/FaroukY/followers","following_url":"https://api.github.com/users/FaroukY/following{/other_user}","gists_url":"https://api.github.com/users/FaroukY/gists{/gist_id}","starred_url":"https://api.github.com/users/FaroukY/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FaroukY/subscriptions","organizations_url":"https://api.github.com/users/FaroukY/orgs","repos_url":"https://api.github.com/users/FaroukY/repos","events_url":"https://api.github.com/users/FaroukY/events{/privacy}","received_events_url":"https://api.github.com/users/FaroukY/received_events","type":"User","site_admin":false},"body":"Created an example and a Cookbook for Cross Validation on Linear SVM Model. \r\n\r\nRegarding Issue #4107 ","created_at":"2018-03-13T22:20:00Z","updated_at":"2018-05-24T09:57:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"09b2c6373db97ac981caf5dd9f916ececbefbf4d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/shogun-toolbox/shogun/pulls/4206/commits","review_comments_url":"https://api.github.com/repos/shogun-toolbox/shogun/pulls/4206/comments","review_comment_url":"https://api.github.com/repos/shogun-toolbox/shogun/pulls/comments{/number}","comments_url":"https://api.github.com/repos/shogun-toolbox/shogun/issues/4206/comments","statuses_url":"https://api.github.com/repos/shogun-toolbox/shogun/statuses/cc1185dee199547b1cac9739cf3d00f03488ea30","head":{"label":"FaroukY:develop","ref":"develop","sha":"cc1185dee199547b1cac9739cf3d00f03488ea30","user":{"login":"FaroukY","id":14959028,"avatar_url":"https://avatars1.githubusercontent.com/u/14959028?v=4","gravatar_id":"","url":"https://api.github.com/users/FaroukY","html_url":"https://github.com/FaroukY","followers_url":"https://api.github.com/users/FaroukY/followers","following_url":"https://api.github.com/users/FaroukY/following{/other_user}","gists_url":"https://api.github.com/users/FaroukY/gists{/gist_id}","starred_url":"https://api.github.com/users/FaroukY/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FaroukY/subscriptions","organizations_url":"https://api.github.com/users/FaroukY/orgs","repos_url":"https://api.github.com/users/FaroukY/repos","events_url":"https://api.github.com/users/FaroukY/events{/privacy}","received_events_url":"https://api.github.com/users/FaroukY/received_events","type":"User","site_admin":false},"repo":{"id":125087898,"name":"shogun","full_name":"FaroukY/shogun","owner":{"login":"FaroukY","id":14959028,"avatar_url":"https://avatars1.githubusercontent.com/u/14959028?v=4","gravatar_id":"","url":"https://api.github.com/users/FaroukY","html_url":"https://github.com/FaroukY","followers_url":"https://api.github.com/users/FaroukY/followers","following_url":"https://api.github.com/users/FaroukY/following{/other_user}","gists_url":"https://api.github.com/users/FaroukY/gists{/gist_id}","starred_url":"https://api.github.com/users/FaroukY/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FaroukY/subscriptions","organizations_url":"https://api.github.com/users/FaroukY/orgs","repos_url":"https://api.github.com/users/FaroukY/repos","events_url":"https://api.github.com/users/FaroukY/events{/privacy}","received_events_url":"https://api.github.com/users/FaroukY/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/FaroukY/shogun","description":"Shōgun","fork":true,"url":"https://api.github.com/repos/FaroukY/shogun","forks_url":"https://api.github.com/repos/FaroukY/shogun/forks","keys_url":"https://api.github.com/repos/FaroukY/shogun/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FaroukY/shogun/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FaroukY/shogun/teams","hooks_url":"https://api.github.com/repos/FaroukY/shogun/hooks","issue_events_url":"https://api.github.com/repos/FaroukY/shogun/issues/events{/number}","events_url":"https://api.github.com/repos/FaroukY/shogun/events","assignees_url":"https://api.github.com/repos/FaroukY/shogun/assignees{/user}","branches_url":"https://api.github.com/repos/FaroukY/shogun/branches{/branch}","tags_url":"https://api.github.com/repos/FaroukY/shogun/tags","blobs_url":"https://api.github.com/repos/FaroukY/shogun/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FaroukY/shogun/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FaroukY/shogun/git/refs{/sha}","trees_url":"https://api.github.com/repos/FaroukY/shogun/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FaroukY/shogun/statuses/{sha}","languages_url":"https://api.github.com/repos/FaroukY/shogun/languages","stargazers_url":"https://api.github.com/repos/FaroukY/shogun/stargazers","contributors_url":"https://api.github.com/repos/FaroukY/shogun/contributors","subscribers_url":"https://api.github.com/repos/FaroukY/shogun/subscribers","subscription_url":"https://api.github.com/repos/FaroukY/shogun/subscription","commits_url":"https://api.github.com/repos/FaroukY/shogun/commits{/sha}","git_commits_url":"https://api.github.com/repos/FaroukY/shogun/git/commits{/sha}","comments_url":"https://api.github.com/repos/FaroukY/shogun/comments{/number}","issue_comment_url":"https://api.github.com/repos/FaroukY/shogun/issues/comments{/number}","contents_url":"https://api.github.com/repos/FaroukY/shogun/contents/{+path}","compare_url":"https://api.github.com/repos/FaroukY/shogun/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FaroukY/shogun/merges","archive_url":"https://api.github.com/repos/FaroukY/shogun/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FaroukY/shogun/downloads","issues_url":"https://api.github.com/repos/FaroukY/shogun/issues{/number}","pulls_url":"https://api.github.com/repos/FaroukY/shogun/pulls{/number}","milestones_url":"https://api.github.com/repos/FaroukY/shogun/milestones{/number}","notifications_url":"https://api.github.com/repos/FaroukY/shogun/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FaroukY/shogun/labels{/name}","releases_url":"https://api.github.com/repos/FaroukY/shogun/releases{/id}","deployments_url":"https://api.github.com/repos/FaroukY/shogun/deployments","created_at":"2018-03-13T17:15:16Z","updated_at":"2018-05-23T18:42:05Z","pushed_at":"2018-05-23T19:52:39Z","git_url":"git://github.com/FaroukY/shogun.git","ssh_url":"git@github.com:FaroukY/shogun.git","clone_url":"https://github.com/FaroukY/shogun.git","svn_url":"https://github.com/FaroukY/shogun","homepage":"http://shogun.ml","size":64843,"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,"archived":false,"open_issues_count":0,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"shogun-toolbox:develop","ref":"develop","sha":"6721b610bfea608fc98cec9d225d3b667a75484b","user":{"login":"shogun-toolbox","id":690673,"avatar_url":"https://avatars1.githubusercontent.com/u/690673?v=4","gravatar_id":"","url":"https://api.github.com/users/shogun-toolbox","html_url":"https://github.com/shogun-toolbox","followers_url":"https://api.github.com/users/shogun-toolbox/followers","following_url":"https://api.github.com/users/shogun-toolbox/following{/other_user}","gists_url":"https://api.github.com/users/shogun-toolbox/gists{/gist_id}","starred_url":"https://api.github.com/users/shogun-toolbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shogun-toolbox/subscriptions","organizations_url":"https://api.github.com/users/shogun-toolbox/orgs","repos_url":"https://api.github.com/users/shogun-toolbox/repos","events_url":"https://api.github.com/users/shogun-toolbox/events{/privacy}","received_events_url":"https://api.github.com/users/shogun-toolbox/received_events","type":"Organization","site_admin":false},"repo":{"id":1555094,"name":"shogun","full_name":"shogun-toolbox/shogun","owner":{"login":"shogun-toolbox","id":690673,"avatar_url":"https://avatars1.githubusercontent.com/u/690673?v=4","gravatar_id":"","url":"https://api.github.com/users/shogun-toolbox","html_url":"https://github.com/shogun-toolbox","followers_url":"https://api.github.com/users/shogun-toolbox/followers","following_url":"https://api.github.com/users/shogun-toolbox/following{/other_user}","gists_url":"https://api.github.com/users/shogun-toolbox/gists{/gist_id}","starred_url":"https://api.github.com/users/shogun-toolbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shogun-toolbox/subscriptions","organizations_url":"https://api.github.com/users/shogun-toolbox/orgs","repos_url":"https://api.github.com/users/shogun-toolbox/repos","events_url":"https://api.github.com/users/shogun-toolbox/events{/privacy}","received_events_url":"https://api.github.com/users/shogun-toolbox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/shogun-toolbox/shogun","description":"Shōgun","fork":false,"url":"https://api.github.com/repos/shogun-toolbox/shogun","forks_url":"https://api.github.com/repos/shogun-toolbox/shogun/forks","keys_url":"https://api.github.com/repos/shogun-toolbox/shogun/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shogun-toolbox/shogun/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shogun-toolbox/shogun/teams","hooks_url":"https://api.github.com/repos/shogun-toolbox/shogun/hooks","issue_events_url":"https://api.github.com/repos/shogun-toolbox/shogun/issues/events{/number}","events_url":"https://api.github.com/repos/shogun-toolbox/shogun/events","assignees_url":"https://api.github.com/repos/shogun-toolbox/shogun/assignees{/user}","branches_url":"https://api.github.com/repos/shogun-toolbox/shogun/branches{/branch}","tags_url":"https://api.github.com/repos/shogun-toolbox/shogun/tags","blobs_url":"https://api.github.com/repos/shogun-toolbox/shogun/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shogun-toolbox/shogun/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shogun-toolbox/shogun/git/refs{/sha}","trees_url":"https://api.github.com/repos/shogun-toolbox/shogun/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shogun-toolbox/shogun/statuses/{sha}","languages_url":"https://api.github.com/repos/shogun-toolbox/shogun/languages","stargazers_url":"https://api.github.com/repos/shogun-toolbox/shogun/stargazers","contributors_url":"https://api.github.com/repos/shogun-toolbox/shogun/contributors","subscribers_url":"https://api.github.com/repos/shogun-toolbox/shogun/subscribers","subscription_url":"https://api.github.com/repos/shogun-toolbox/shogun/subscription","commits_url":"https://api.github.com/repos/shogun-toolbox/shogun/commits{/sha}","git_commits_url":"https://api.github.com/repos/shogun-toolbox/shogun/git/commits{/sha}","comments_url":"https://api.github.com/repos/shogun-toolbox/shogun/comments{/number}","issue_comment_url":"https://api.github.com/repos/shogun-toolbox/shogun/issues/comments{/number}","contents_url":"https://api.github.com/repos/shogun-toolbox/shogun/contents/{+path}","compare_url":"https://api.github.com/repos/shogun-toolbox/shogun/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shogun-toolbox/shogun/merges","archive_url":"https://api.github.com/repos/shogun-toolbox/shogun/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shogun-toolbox/shogun/downloads","issues_url":"https://api.github.com/repos/shogun-toolbox/shogun/issues{/number}","pulls_url":"https://api.github.com/repos/shogun-toolbox/shogun/pulls{/number}","milestones_url":"https://api.github.com/repos/shogun-toolbox/shogun/milestones{/number}","notifications_url":"https://api.github.com/repos/shogun-toolbox/shogun/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shogun-toolbox/shogun/labels{/name}","releases_url":"https://api.github.com/repos/shogun-toolbox/shogun/releases{/id}","deployments_url":"https://api.github.com/repos/shogun-toolbox/shogun/deployments","created_at":"2011-04-01T10:44:32Z","updated_at":"2018-05-24T09:54:37Z","pushed_at":"2018-05-24T09:54:30Z","git_url":"git://github.com/shogun-toolbox/shogun.git","ssh_url":"git@github.com:shogun-toolbox/shogun.git","clone_url":"https://github.com/shogun-toolbox/shogun.git","svn_url":"https://github.com/shogun-toolbox/shogun","homepage":"http://shogun.ml","size":64980,"stargazers_count":2115,"watchers_count":2115,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":868,"mirror_url":null,"archived":false,"open_issues_count":524,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause"},"forks":868,"open_issues":524,"watchers":2115,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/shogun-toolbox/shogun/pulls/4206"},"html":{"href":"https://github.com/shogun-toolbox/shogun/pull/4206"},"issue":{"href":"https://api.github.com/repos/shogun-toolbox/shogun/issues/4206"},"comments":{"href":"https://api.github.com/repos/shogun-toolbox/shogun/issues/4206/comments"},"review_comments":{"href":"https://api.github.com/repos/shogun-toolbox/shogun/pulls/4206/comments"},"review_comment":{"href":"https://api.github.com/repos/shogun-toolbox/shogun/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/shogun-toolbox/shogun/pulls/4206/commits"},"statuses":{"href":"https://api.github.com/repos/shogun-toolbox/shogun/statuses/cc1185dee199547b1cac9739cf3d00f03488ea30"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"karlnapf"}}