{"action":"created","comment":{"url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/pulls/comments/181906927","pull_request_review_id":112614738,"id":181906927,"diff_hunk":"@@ -1,107 +1,109 @@\n = PageRank\n \n // tag::introduction[]\n-PageRank is widely recognized as a way of detecting influential nodes in a graph.\n-It is different to other centrality algorithms because the influence of a node depends on the influence of its neighbours.\n+PageRank is a widely recognized way of detecting influential nodes in a graph.\n+It is different to other centrality algorithms, as the influence of a node depends on the influence of its neighbours.\n \n The underlying mathematics of PageRank is based on random walks on networks.\n We can think of a random walk as the way that a person might manually traverse a graph.\n-We start from any node and then either follow one of its relationships to another node or jump to another node in the graph and continue our exploration.\n-The PageRank of a node is the probability that it is visited during this random walk.\n-More influential nodes will be visited more often.\n+We start from any node and then either follow one of its relationships to another node, or jump to another node in the graph and continue our exploration.\n+The PageRank of a node is the probability that it is visited during this random walk; the more influential nodes will be visited more often.\n \n // end::introduction[]\n \n-== History, Explanation\n+== History and explanation\n \n // tag::explanation[]\n-PageRank is named after Google co-founder Larry Page and is used to rank websites in Google's search results.\n-It counts the number and quality of links to a page to determine an estimate of how important a page is.\n-The underlying assumption is that more important pages are likely to receive more links from other pages.\n+PageRank is named after Google co-founder Larry Page, and is used to rank websites in Google's search results.\n+It counts the number, and quality, of links to a page which determines an estimation of how important the page is.\n+The underlying assumption is that pages of importance are more likely to receive a higher volume of links from other pages.\n // end::explanation[]\n \n // tag::formula[]\n PageRank is defined in the original Google paper as follows:\n \n-```\n+----\n PR(A) = (1-d) + d (PR(T1)/C(T1) + ... + PR(Tn)/C(Tn))\n-```\n+----\n \n-where\n+where,\n \n-* we assume that a page A has pages T1...Tn which point to it (i.e., are citations).\n-* d is a damping factor which can be set between 0 and 1. It is usually set to 0.85.\n-* `C(A)` is defined as the number of links going out of page A.\n+* we assume that a page `A` has pages `T1` to `Tn` which point to it (i.e., are citations).\n+* `d` is a damping factor which can be set between 0 and 1.\n+It is usually set to 0.85.\n+* `C(A)` is defined as the number of links going out of page `A`.\n \n-The PageRanks form a probability distribution over web pages, which means that the sum of all web pages' PageRanks will be one.\n+The PageRanks form a probability distribution over web pages, which means that the sum of all web pages' PageRanks will be 1.\n // end::formula[]\n \n-== When to use it / use-cases","path":"doc/asciidoc/pagerank.adoc","position":55,"original_position":55,"commit_id":"6f9f7692a5bb383d8b5a74c5eb59d168452db3c6","original_commit_id":"6f9f7692a5bb383d8b5a74c5eb59d168452db3c6","user":{"login":"jexp","id":67427,"avatar_url":"https://avatars1.githubusercontent.com/u/67427?v=4","gravatar_id":"","url":"https://api.github.com/users/jexp","html_url":"https://github.com/jexp","followers_url":"https://api.github.com/users/jexp/followers","following_url":"https://api.github.com/users/jexp/following{/other_user}","gists_url":"https://api.github.com/users/jexp/gists{/gist_id}","starred_url":"https://api.github.com/users/jexp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jexp/subscriptions","organizations_url":"https://api.github.com/users/jexp/orgs","repos_url":"https://api.github.com/users/jexp/repos","events_url":"https://api.github.com/users/jexp/events{/privacy}","received_events_url":"https://api.github.com/users/jexp/received_events","type":"User","site_admin":false},"body":"this was meant as a consistent recurrent header across all algorithms","created_at":"2018-04-16T22:42:52Z","updated_at":"2018-04-16T22:42:53Z","html_url":"https://github.com/neo4j-contrib/neo4j-graph-algorithms/pull/602#discussion_r181906927","pull_request_url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/pulls/602","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/pulls/comments/181906927"},"html":{"href":"https://github.com/neo4j-contrib/neo4j-graph-algorithms/pull/602#discussion_r181906927"},"pull_request":{"href":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/pulls/602"}}},"pull_request":{"url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/pulls/602","id":181844511,"html_url":"https://github.com/neo4j-contrib/neo4j-graph-algorithms/pull/602","diff_url":"https://github.com/neo4j-contrib/neo4j-graph-algorithms/pull/602.diff","patch_url":"https://github.com/neo4j-contrib/neo4j-graph-algorithms/pull/602.patch","issue_url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/issues/602","number":602,"state":"open","locked":false,"title":"Edit on the PageRank documentation","user":{"login":"davidoliverSP2","id":12032446,"avatar_url":"https://avatars3.githubusercontent.com/u/12032446?v=4","gravatar_id":"","url":"https://api.github.com/users/davidoliverSP2","html_url":"https://github.com/davidoliverSP2","followers_url":"https://api.github.com/users/davidoliverSP2/followers","following_url":"https://api.github.com/users/davidoliverSP2/following{/other_user}","gists_url":"https://api.github.com/users/davidoliverSP2/gists{/gist_id}","starred_url":"https://api.github.com/users/davidoliverSP2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidoliverSP2/subscriptions","organizations_url":"https://api.github.com/users/davidoliverSP2/orgs","repos_url":"https://api.github.com/users/davidoliverSP2/repos","events_url":"https://api.github.com/users/davidoliverSP2/events{/privacy}","received_events_url":"https://api.github.com/users/davidoliverSP2/received_events","type":"User","site_admin":false},"body":"Edit to correct some inconsistencies, and improve readability.\r\n\r\nSome style changes to headers will be replicated in other sections.","created_at":"2018-04-16T12:28:48Z","updated_at":"2018-04-16T22:42:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e38bbefcdb0917d018005e44e40acbb0c6f732ef","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/pulls/602/commits","review_comments_url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/pulls/602/comments","review_comment_url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/issues/602/comments","statuses_url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/statuses/6f9f7692a5bb383d8b5a74c5eb59d168452db3c6","head":{"label":"davidoliverSP2:3.2-edit-pagerank","ref":"3.2-edit-pagerank","sha":"6f9f7692a5bb383d8b5a74c5eb59d168452db3c6","user":{"login":"davidoliverSP2","id":12032446,"avatar_url":"https://avatars3.githubusercontent.com/u/12032446?v=4","gravatar_id":"","url":"https://api.github.com/users/davidoliverSP2","html_url":"https://github.com/davidoliverSP2","followers_url":"https://api.github.com/users/davidoliverSP2/followers","following_url":"https://api.github.com/users/davidoliverSP2/following{/other_user}","gists_url":"https://api.github.com/users/davidoliverSP2/gists{/gist_id}","starred_url":"https://api.github.com/users/davidoliverSP2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidoliverSP2/subscriptions","organizations_url":"https://api.github.com/users/davidoliverSP2/orgs","repos_url":"https://api.github.com/users/davidoliverSP2/repos","events_url":"https://api.github.com/users/davidoliverSP2/events{/privacy}","received_events_url":"https://api.github.com/users/davidoliverSP2/received_events","type":"User","site_admin":false},"repo":{"id":121639853,"name":"neo4j-graph-algorithms","full_name":"davidoliverSP2/neo4j-graph-algorithms","owner":{"login":"davidoliverSP2","id":12032446,"avatar_url":"https://avatars3.githubusercontent.com/u/12032446?v=4","gravatar_id":"","url":"https://api.github.com/users/davidoliverSP2","html_url":"https://github.com/davidoliverSP2","followers_url":"https://api.github.com/users/davidoliverSP2/followers","following_url":"https://api.github.com/users/davidoliverSP2/following{/other_user}","gists_url":"https://api.github.com/users/davidoliverSP2/gists{/gist_id}","starred_url":"https://api.github.com/users/davidoliverSP2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidoliverSP2/subscriptions","organizations_url":"https://api.github.com/users/davidoliverSP2/orgs","repos_url":"https://api.github.com/users/davidoliverSP2/repos","events_url":"https://api.github.com/users/davidoliverSP2/events{/privacy}","received_events_url":"https://api.github.com/users/davidoliverSP2/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/davidoliverSP2/neo4j-graph-algorithms","description":"Efficient Graph Algorithms for Neo4j","fork":true,"url":"https://api.github.com/repos/davidoliverSP2/neo4j-graph-algorithms","forks_url":"https://api.github.com/repos/davidoliverSP2/neo4j-graph-algorithms/forks","keys_url":"https://api.github.com/repos/davidoliverSP2/neo4j-graph-algorithms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/davidoliverSP2/neo4j-graph-algorithms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/davidoliverSP2/neo4j-graph-algorithms/teams","hooks_url":"https://api.github.com/repos/davidoliverSP2/neo4j-graph-algorithms/hooks","issue_events_url":"https://api.github.com/repos/davidoliverSP2/neo4j-graph-algorithms/issues/events{/number}","events_url":"https://api.github.com/repos/davidoliverSP2/neo4j-graph-algorithms/events","assignees_url":"https://api.github.com/repos/davidoliverSP2/neo4j-graph-algorithms/assignees{/user}","branches_url":"https://api.github.com/repos/davidoliverSP2/neo4j-graph-algorithms/branches{/branch}","tags_url":"https://api.github.com/repos/davidoliverSP2/neo4j-graph-algorithms/tags","blobs_url":"https://api.github.com/repos/davidoliverSP2/neo4j-graph-algorithms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/davidoliverSP2/neo4j-graph-algorithms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/davidoliverSP2/neo4j-graph-algorithms/git/refs{/sha}","trees_url":"https://api.github.com/repos/davidoliverSP2/neo4j-graph-algorithms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/davidoliverSP2/neo4j-graph-algorithms/statuses/{sha}","languages_url":"https://api.github.com/repos/davidoliverSP2/neo4j-graph-algorithms/languages","stargazers_url":"https://api.github.com/repos/davidoliverSP2/neo4j-graph-algorithms/stargazers","contributors_url":"https://api.github.com/repos/davidoliverSP2/neo4j-graph-algorithms/contributors","subscribers_url":"https://api.github.com/repos/davidoliverSP2/neo4j-graph-algorithms/subscribers","subscription_url":"https://api.github.com/repos/davidoliverSP2/neo4j-graph-algorithms/subscription","commits_url":"https://api.github.com/repos/davidoliverSP2/neo4j-graph-algorithms/commits{/sha}","git_commits_url":"https://api.github.com/repos/davidoliverSP2/neo4j-graph-algorithms/git/commits{/sha}","comments_url":"https://api.github.com/repos/davidoliverSP2/neo4j-graph-algorithms/comments{/number}","issue_comment_url":"https://api.github.com/repos/davidoliverSP2/neo4j-graph-algorithms/issues/comments{/number}","contents_url":"https://api.github.com/repos/davidoliverSP2/neo4j-graph-algorithms/contents/{+path}","compare_url":"https://api.github.com/repos/davidoliverSP2/neo4j-graph-algorithms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/davidoliverSP2/neo4j-graph-algorithms/merges","archive_url":"https://api.github.com/repos/davidoliverSP2/neo4j-graph-algorithms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/davidoliverSP2/neo4j-graph-algorithms/downloads","issues_url":"https://api.github.com/repos/davidoliverSP2/neo4j-graph-algorithms/issues{/number}","pulls_url":"https://api.github.com/repos/davidoliverSP2/neo4j-graph-algorithms/pulls{/number}","milestones_url":"https://api.github.com/repos/davidoliverSP2/neo4j-graph-algorithms/milestones{/number}","notifications_url":"https://api.github.com/repos/davidoliverSP2/neo4j-graph-algorithms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/davidoliverSP2/neo4j-graph-algorithms/labels{/name}","releases_url":"https://api.github.com/repos/davidoliverSP2/neo4j-graph-algorithms/releases{/id}","deployments_url":"https://api.github.com/repos/davidoliverSP2/neo4j-graph-algorithms/deployments","created_at":"2018-02-15T14:36:41Z","updated_at":"2018-02-15T14:36:44Z","pushed_at":"2018-04-16T12:25:18Z","git_url":"git://github.com/davidoliverSP2/neo4j-graph-algorithms.git","ssh_url":"git@github.com:davidoliverSP2/neo4j-graph-algorithms.git","clone_url":"https://github.com/davidoliverSP2/neo4j-graph-algorithms.git","svn_url":"https://github.com/davidoliverSP2/neo4j-graph-algorithms","homepage":"http://neo4j-contrib.github.io/neo4j-graph-algorithms","size":10540,"stargazers_count":0,"watchers_count":0,"language":"Java","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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"3.2"}},"base":{"label":"neo4j-contrib:3.2","ref":"3.2","sha":"aff5bf317b1e2f24681124dd5956fdcf683a16b8","user":{"login":"neo4j-contrib","id":916372,"avatar_url":"https://avatars0.githubusercontent.com/u/916372?v=4","gravatar_id":"","url":"https://api.github.com/users/neo4j-contrib","html_url":"https://github.com/neo4j-contrib","followers_url":"https://api.github.com/users/neo4j-contrib/followers","following_url":"https://api.github.com/users/neo4j-contrib/following{/other_user}","gists_url":"https://api.github.com/users/neo4j-contrib/gists{/gist_id}","starred_url":"https://api.github.com/users/neo4j-contrib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neo4j-contrib/subscriptions","organizations_url":"https://api.github.com/users/neo4j-contrib/orgs","repos_url":"https://api.github.com/users/neo4j-contrib/repos","events_url":"https://api.github.com/users/neo4j-contrib/events{/privacy}","received_events_url":"https://api.github.com/users/neo4j-contrib/received_events","type":"Organization","site_admin":false},"repo":{"id":82291828,"name":"neo4j-graph-algorithms","full_name":"neo4j-contrib/neo4j-graph-algorithms","owner":{"login":"neo4j-contrib","id":916372,"avatar_url":"https://avatars0.githubusercontent.com/u/916372?v=4","gravatar_id":"","url":"https://api.github.com/users/neo4j-contrib","html_url":"https://github.com/neo4j-contrib","followers_url":"https://api.github.com/users/neo4j-contrib/followers","following_url":"https://api.github.com/users/neo4j-contrib/following{/other_user}","gists_url":"https://api.github.com/users/neo4j-contrib/gists{/gist_id}","starred_url":"https://api.github.com/users/neo4j-contrib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neo4j-contrib/subscriptions","organizations_url":"https://api.github.com/users/neo4j-contrib/orgs","repos_url":"https://api.github.com/users/neo4j-contrib/repos","events_url":"https://api.github.com/users/neo4j-contrib/events{/privacy}","received_events_url":"https://api.github.com/users/neo4j-contrib/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/neo4j-contrib/neo4j-graph-algorithms","description":"Efficient Graph Algorithms for Neo4j","fork":false,"url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms","forks_url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/forks","keys_url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/teams","hooks_url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/hooks","issue_events_url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/issues/events{/number}","events_url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/events","assignees_url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/assignees{/user}","branches_url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/branches{/branch}","tags_url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/tags","blobs_url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/git/refs{/sha}","trees_url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/statuses/{sha}","languages_url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/languages","stargazers_url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/stargazers","contributors_url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/contributors","subscribers_url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/subscribers","subscription_url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/subscription","commits_url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/commits{/sha}","git_commits_url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/git/commits{/sha}","comments_url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/comments{/number}","issue_comment_url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/issues/comments{/number}","contents_url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/contents/{+path}","compare_url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/merges","archive_url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/downloads","issues_url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/issues{/number}","pulls_url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/pulls{/number}","milestones_url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/milestones{/number}","notifications_url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/labels{/name}","releases_url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/releases{/id}","deployments_url":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/deployments","created_at":"2017-02-17T11:41:12Z","updated_at":"2018-04-14T21:26:51Z","pushed_at":"2018-04-16T20:01:40Z","git_url":"git://github.com/neo4j-contrib/neo4j-graph-algorithms.git","ssh_url":"git@github.com:neo4j-contrib/neo4j-graph-algorithms.git","clone_url":"https://github.com/neo4j-contrib/neo4j-graph-algorithms.git","svn_url":"https://github.com/neo4j-contrib/neo4j-graph-algorithms","homepage":"http://neo4j-contrib.github.io/neo4j-graph-algorithms","size":18069,"stargazers_count":218,"watchers_count":218,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":40,"mirror_url":null,"archived":false,"open_issues_count":127,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":40,"open_issues":127,"watchers":218,"default_branch":"3.2"}},"_links":{"self":{"href":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/pulls/602"},"html":{"href":"https://github.com/neo4j-contrib/neo4j-graph-algorithms/pull/602"},"issue":{"href":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/issues/602"},"comments":{"href":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/issues/602/comments"},"review_comments":{"href":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/pulls/602/comments"},"review_comment":{"href":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/pulls/602/commits"},"statuses":{"href":"https://api.github.com/repos/neo4j-contrib/neo4j-graph-algorithms/statuses/6f9f7692a5bb383d8b5a74c5eb59d168452db3c6"}},"author_association":"NONE"}}
{"actor":{"display_login":"jexp"}}