{"action":"created","comment":{"url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/pulls/comments/71757318","id":71757318,"diff_hunk":"@@ -0,0 +1,51 @@\n+#ifndef _BASE_POINT_H_\n+#define _BASE_POINT_H_\n+#include <string>\n+\n+/**\n+ * \\file point.h\n+ * \\brief Header defining the multi-dimensional point interface.\n+ */\n+\n+/**\n+ * Basic objects to be used by all machine learning algorithms.\n+ */\n+namespace base {\n+\n+/**\n+ * \\brief Multi-dimensional object interface.\n+ *\n+ * This interface is the primitive input data type for the learning algorithms.\n+ * For every new type of object we want to learn from, we must implement a\n+ * suitable concrete class to handle it.\n+ */\n+class Point {\n+ public:\n+  /**\n+   * Default constructor.\n+   */\n+  virtual Point() = 0;\n+  /** String parsing constructor.\n+   *\n+   * \\param point_string should be equal to the return value of ToString().\n+   */\n+  virtual Point(const std::string& point_string) = 0;","path":"base/point.h","position":null,"original_position":32,"commit_id":"140915d033da5fe4e4977f9efe8c724455ef435c","original_commit_id":"a5591175d9029e147b3a695af784c4427226b6a2","user":{"login":"thiagovas","id":4576512,"avatar_url":"https://avatars.githubusercontent.com/u/4576512?v=3","gravatar_id":"","url":"https://api.github.com/users/thiagovas","html_url":"https://github.com/thiagovas","followers_url":"https://api.github.com/users/thiagovas/followers","following_url":"https://api.github.com/users/thiagovas/following{/other_user}","gists_url":"https://api.github.com/users/thiagovas/gists{/gist_id}","starred_url":"https://api.github.com/users/thiagovas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thiagovas/subscriptions","organizations_url":"https://api.github.com/users/thiagovas/orgs","repos_url":"https://api.github.com/users/thiagovas/repos","events_url":"https://api.github.com/users/thiagovas/events{/privacy}","received_events_url":"https://api.github.com/users/thiagovas/received_events","type":"User","site_admin":false},"body":"Okay.\r\nWell, I think it's okay to leave the initialize method to the concrete class.","created_at":"2016-07-21T18:11:17Z","updated_at":"2016-07-21T18:11:17Z","html_url":"https://github.com/LBD-UFMG/MachineLearning/pull/11#discussion_r71757318","pull_request_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/LBD-UFMG/MachineLearning/pulls/comments/71757318"},"html":{"href":"https://github.com/LBD-UFMG/MachineLearning/pull/11#discussion_r71757318"},"pull_request":{"href":"https://api.github.com/repos/LBD-UFMG/MachineLearning/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/pulls/11","id":78185432,"html_url":"https://github.com/LBD-UFMG/MachineLearning/pull/11","diff_url":"https://github.com/LBD-UFMG/MachineLearning/pull/11.diff","patch_url":"https://github.com/LBD-UFMG/MachineLearning/pull/11.patch","issue_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/issues/11","number":11,"state":"open","locked":false,"title":"Implementing Point interface","user":{"login":"gcmgomes","id":6178368,"avatar_url":"https://avatars.githubusercontent.com/u/6178368?v=3","gravatar_id":"","url":"https://api.github.com/users/gcmgomes","html_url":"https://github.com/gcmgomes","followers_url":"https://api.github.com/users/gcmgomes/followers","following_url":"https://api.github.com/users/gcmgomes/following{/other_user}","gists_url":"https://api.github.com/users/gcmgomes/gists{/gist_id}","starred_url":"https://api.github.com/users/gcmgomes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gcmgomes/subscriptions","organizations_url":"https://api.github.com/users/gcmgomes/orgs","repos_url":"https://api.github.com/users/gcmgomes/repos","events_url":"https://api.github.com/users/gcmgomes/events{/privacy}","received_events_url":"https://api.github.com/users/gcmgomes/received_events","type":"User","site_admin":false},"body":"Implemented the basic `Point` interface we will be using. @thiagovas, could you please review it?","created_at":"2016-07-20T17:17:45Z","updated_at":"2016-07-21T18:11:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e685897c40ba35cf0c6ddc4e2588df2c591e132c","assignee":{"login":"thiagovas","id":4576512,"avatar_url":"https://avatars.githubusercontent.com/u/4576512?v=3","gravatar_id":"","url":"https://api.github.com/users/thiagovas","html_url":"https://github.com/thiagovas","followers_url":"https://api.github.com/users/thiagovas/followers","following_url":"https://api.github.com/users/thiagovas/following{/other_user}","gists_url":"https://api.github.com/users/thiagovas/gists{/gist_id}","starred_url":"https://api.github.com/users/thiagovas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thiagovas/subscriptions","organizations_url":"https://api.github.com/users/thiagovas/orgs","repos_url":"https://api.github.com/users/thiagovas/repos","events_url":"https://api.github.com/users/thiagovas/events{/privacy}","received_events_url":"https://api.github.com/users/thiagovas/received_events","type":"User","site_admin":false},"assignees":[{"login":"thiagovas","id":4576512,"avatar_url":"https://avatars.githubusercontent.com/u/4576512?v=3","gravatar_id":"","url":"https://api.github.com/users/thiagovas","html_url":"https://github.com/thiagovas","followers_url":"https://api.github.com/users/thiagovas/followers","following_url":"https://api.github.com/users/thiagovas/following{/other_user}","gists_url":"https://api.github.com/users/thiagovas/gists{/gist_id}","starred_url":"https://api.github.com/users/thiagovas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thiagovas/subscriptions","organizations_url":"https://api.github.com/users/thiagovas/orgs","repos_url":"https://api.github.com/users/thiagovas/repos","events_url":"https://api.github.com/users/thiagovas/events{/privacy}","received_events_url":"https://api.github.com/users/thiagovas/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/pulls/11/commits","review_comments_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/pulls/11/comments","review_comment_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/issues/11/comments","statuses_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/statuses/140915d033da5fe4e4977f9efe8c724455ef435c","head":{"label":"LBD-UFMG:base","ref":"base","sha":"140915d033da5fe4e4977f9efe8c724455ef435c","user":{"login":"LBD-UFMG","id":20340452,"avatar_url":"https://avatars.githubusercontent.com/u/20340452?v=3","gravatar_id":"","url":"https://api.github.com/users/LBD-UFMG","html_url":"https://github.com/LBD-UFMG","followers_url":"https://api.github.com/users/LBD-UFMG/followers","following_url":"https://api.github.com/users/LBD-UFMG/following{/other_user}","gists_url":"https://api.github.com/users/LBD-UFMG/gists{/gist_id}","starred_url":"https://api.github.com/users/LBD-UFMG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LBD-UFMG/subscriptions","organizations_url":"https://api.github.com/users/LBD-UFMG/orgs","repos_url":"https://api.github.com/users/LBD-UFMG/repos","events_url":"https://api.github.com/users/LBD-UFMG/events{/privacy}","received_events_url":"https://api.github.com/users/LBD-UFMG/received_events","type":"Organization","site_admin":false},"repo":{"id":63195373,"name":"MachineLearning","full_name":"LBD-UFMG/MachineLearning","owner":{"login":"LBD-UFMG","id":20340452,"avatar_url":"https://avatars.githubusercontent.com/u/20340452?v=3","gravatar_id":"","url":"https://api.github.com/users/LBD-UFMG","html_url":"https://github.com/LBD-UFMG","followers_url":"https://api.github.com/users/LBD-UFMG/followers","following_url":"https://api.github.com/users/LBD-UFMG/following{/other_user}","gists_url":"https://api.github.com/users/LBD-UFMG/gists{/gist_id}","starred_url":"https://api.github.com/users/LBD-UFMG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LBD-UFMG/subscriptions","organizations_url":"https://api.github.com/users/LBD-UFMG/orgs","repos_url":"https://api.github.com/users/LBD-UFMG/repos","events_url":"https://api.github.com/users/LBD-UFMG/events{/privacy}","received_events_url":"https://api.github.com/users/LBD-UFMG/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LBD-UFMG/MachineLearning","description":"An implementation of some machine learning methods, such as Bayesian Networks and Random Forests.","fork":false,"url":"https://api.github.com/repos/LBD-UFMG/MachineLearning","forks_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/forks","keys_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/teams","hooks_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/hooks","issue_events_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/issues/events{/number}","events_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/events","assignees_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/assignees{/user}","branches_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/branches{/branch}","tags_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/tags","blobs_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/git/refs{/sha}","trees_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/statuses/{sha}","languages_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/languages","stargazers_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/stargazers","contributors_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/contributors","subscribers_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/subscribers","subscription_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/subscription","commits_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/commits{/sha}","git_commits_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/git/commits{/sha}","comments_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/comments{/number}","issue_comment_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/issues/comments{/number}","contents_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/contents/{+path}","compare_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/merges","archive_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/downloads","issues_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/issues{/number}","pulls_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/pulls{/number}","milestones_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/milestones{/number}","notifications_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/labels{/name}","releases_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/releases{/id}","deployments_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/deployments","created_at":"2016-07-12T22:03:51Z","updated_at":"2016-07-13T19:10:20Z","pushed_at":"2016-07-21T17:27:19Z","git_url":"git://github.com/LBD-UFMG/MachineLearning.git","ssh_url":"git@github.com:LBD-UFMG/MachineLearning.git","clone_url":"https://github.com/LBD-UFMG/MachineLearning.git","svn_url":"https://github.com/LBD-UFMG/MachineLearning","homepage":"","size":36,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":9,"forks":1,"open_issues":9,"watchers":0,"default_branch":"master"}},"base":{"label":"LBD-UFMG:master","ref":"master","sha":"17e12b4321dddf4330a0d35b4eb919f86afcf544","user":{"login":"LBD-UFMG","id":20340452,"avatar_url":"https://avatars.githubusercontent.com/u/20340452?v=3","gravatar_id":"","url":"https://api.github.com/users/LBD-UFMG","html_url":"https://github.com/LBD-UFMG","followers_url":"https://api.github.com/users/LBD-UFMG/followers","following_url":"https://api.github.com/users/LBD-UFMG/following{/other_user}","gists_url":"https://api.github.com/users/LBD-UFMG/gists{/gist_id}","starred_url":"https://api.github.com/users/LBD-UFMG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LBD-UFMG/subscriptions","organizations_url":"https://api.github.com/users/LBD-UFMG/orgs","repos_url":"https://api.github.com/users/LBD-UFMG/repos","events_url":"https://api.github.com/users/LBD-UFMG/events{/privacy}","received_events_url":"https://api.github.com/users/LBD-UFMG/received_events","type":"Organization","site_admin":false},"repo":{"id":63195373,"name":"MachineLearning","full_name":"LBD-UFMG/MachineLearning","owner":{"login":"LBD-UFMG","id":20340452,"avatar_url":"https://avatars.githubusercontent.com/u/20340452?v=3","gravatar_id":"","url":"https://api.github.com/users/LBD-UFMG","html_url":"https://github.com/LBD-UFMG","followers_url":"https://api.github.com/users/LBD-UFMG/followers","following_url":"https://api.github.com/users/LBD-UFMG/following{/other_user}","gists_url":"https://api.github.com/users/LBD-UFMG/gists{/gist_id}","starred_url":"https://api.github.com/users/LBD-UFMG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LBD-UFMG/subscriptions","organizations_url":"https://api.github.com/users/LBD-UFMG/orgs","repos_url":"https://api.github.com/users/LBD-UFMG/repos","events_url":"https://api.github.com/users/LBD-UFMG/events{/privacy}","received_events_url":"https://api.github.com/users/LBD-UFMG/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LBD-UFMG/MachineLearning","description":"An implementation of some machine learning methods, such as Bayesian Networks and Random Forests.","fork":false,"url":"https://api.github.com/repos/LBD-UFMG/MachineLearning","forks_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/forks","keys_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/teams","hooks_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/hooks","issue_events_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/issues/events{/number}","events_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/events","assignees_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/assignees{/user}","branches_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/branches{/branch}","tags_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/tags","blobs_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/git/refs{/sha}","trees_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/statuses/{sha}","languages_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/languages","stargazers_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/stargazers","contributors_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/contributors","subscribers_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/subscribers","subscription_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/subscription","commits_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/commits{/sha}","git_commits_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/git/commits{/sha}","comments_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/comments{/number}","issue_comment_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/issues/comments{/number}","contents_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/contents/{+path}","compare_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/merges","archive_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/downloads","issues_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/issues{/number}","pulls_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/pulls{/number}","milestones_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/milestones{/number}","notifications_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/labels{/name}","releases_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/releases{/id}","deployments_url":"https://api.github.com/repos/LBD-UFMG/MachineLearning/deployments","created_at":"2016-07-12T22:03:51Z","updated_at":"2016-07-13T19:10:20Z","pushed_at":"2016-07-21T17:27:19Z","git_url":"git://github.com/LBD-UFMG/MachineLearning.git","ssh_url":"git@github.com:LBD-UFMG/MachineLearning.git","clone_url":"https://github.com/LBD-UFMG/MachineLearning.git","svn_url":"https://github.com/LBD-UFMG/MachineLearning","homepage":"","size":36,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":9,"forks":1,"open_issues":9,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LBD-UFMG/MachineLearning/pulls/11"},"html":{"href":"https://github.com/LBD-UFMG/MachineLearning/pull/11"},"issue":{"href":"https://api.github.com/repos/LBD-UFMG/MachineLearning/issues/11"},"comments":{"href":"https://api.github.com/repos/LBD-UFMG/MachineLearning/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/LBD-UFMG/MachineLearning/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/LBD-UFMG/MachineLearning/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LBD-UFMG/MachineLearning/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/LBD-UFMG/MachineLearning/statuses/140915d033da5fe4e4977f9efe8c724455ef435c"}}}}
{"actor":{"display_login":"thiagovas"}}