{"action":"created","issue":{"url":"https://api.github.com/repos/gephi/gephi/issues/620","repository_url":"https://api.github.com/repos/gephi/gephi","labels_url":"https://api.github.com/repos/gephi/gephi/issues/620/labels{/name}","comments_url":"https://api.github.com/repos/gephi/gephi/issues/620/comments","events_url":"https://api.github.com/repos/gephi/gephi/issues/620/events","html_url":"https://github.com/gephi/gephi/issues/620","id":4529471,"number":620,"title":"HITS wrongly calculating hub value in directed graphs","user":{"login":"tniedabylski","id":63970,"avatar_url":"https://avatars.githubusercontent.com/u/63970?v=3","gravatar_id":"","url":"https://api.github.com/users/tniedabylski","html_url":"https://github.com/tniedabylski","followers_url":"https://api.github.com/users/tniedabylski/followers","following_url":"https://api.github.com/users/tniedabylski/following{/other_user}","gists_url":"https://api.github.com/users/tniedabylski/gists{/gist_id}","starred_url":"https://api.github.com/users/tniedabylski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tniedabylski/subscriptions","organizations_url":"https://api.github.com/users/tniedabylski/orgs","repos_url":"https://api.github.com/users/tniedabylski/repos","events_url":"https://api.github.com/users/tniedabylski/events{/privacy}","received_events_url":"https://api.github.com/users/tniedabylski/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gephi/gephi/labels/High","name":"High","color":"F27405"},{"url":"https://api.github.com/repos/gephi/gephi/labels/Statistics","name":"Statistics","color":"1B394C"}],"state":"closed","locked":false,"assignee":{"login":"mbastian","id":234813,"avatar_url":"https://avatars.githubusercontent.com/u/234813?v=3","gravatar_id":"","url":"https://api.github.com/users/mbastian","html_url":"https://github.com/mbastian","followers_url":"https://api.github.com/users/mbastian/followers","following_url":"https://api.github.com/users/mbastian/following{/other_user}","gists_url":"https://api.github.com/users/mbastian/gists{/gist_id}","starred_url":"https://api.github.com/users/mbastian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbastian/subscriptions","organizations_url":"https://api.github.com/users/mbastian/orgs","repos_url":"https://api.github.com/users/mbastian/repos","events_url":"https://api.github.com/users/mbastian/events{/privacy}","received_events_url":"https://api.github.com/users/mbastian/received_events","type":"User","site_admin":false},"assignees":[{"login":"mbastian","id":234813,"avatar_url":"https://avatars.githubusercontent.com/u/234813?v=3","gravatar_id":"","url":"https://api.github.com/users/mbastian","html_url":"https://github.com/mbastian","followers_url":"https://api.github.com/users/mbastian/followers","following_url":"https://api.github.com/users/mbastian/following{/other_user}","gists_url":"https://api.github.com/users/mbastian/gists{/gist_id}","starred_url":"https://api.github.com/users/mbastian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbastian/subscriptions","organizations_url":"https://api.github.com/users/mbastian/orgs","repos_url":"https://api.github.com/users/mbastian/repos","events_url":"https://api.github.com/users/mbastian/events{/privacy}","received_events_url":"https://api.github.com/users/mbastian/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2012-05-11T08:17:21Z","updated_at":"2016-06-24T10:55:23Z","closed_at":"2016-06-24T10:55:23Z","body":"HITS algorithm implementation calculates hub of node X as sum of authorities of nodes pointing to node X. Instead, it should be sum of authorities the node X points to.\r\nThis bug results in hubs and authorties having same, wrong values in directed graphs. As HITS on undirected graphs makes little sense, this renders the algorithm practically useless.\r\n\r\nPossible solution (I am not familiar with Gephi API though):\r\nIn StatisticsPlugin / src / org / gephi / statistics / plugin / Hits.java, line 207:\r\n```java\r\ntemp_hubs[n_index] += authority[target_index];\r\n```\r\nshoulde be changed to\r\n```java\r\ntemp_hubs[target_index] += authority[n_index];\r\nhub_sum += authority[n_index];\r\n```\r\n\r\nPlus proper initialization of ```temp_hubs```"},"comment":{"url":"https://api.github.com/repos/gephi/gephi/issues/comments/228316442","html_url":"https://github.com/gephi/gephi/issues/620#issuecomment-228316442","issue_url":"https://api.github.com/repos/gephi/gephi/issues/620","id":228316442,"user":{"login":"eduramiba","id":197285,"avatar_url":"https://avatars.githubusercontent.com/u/197285?v=3","gravatar_id":"","url":"https://api.github.com/users/eduramiba","html_url":"https://github.com/eduramiba","followers_url":"https://api.github.com/users/eduramiba/followers","following_url":"https://api.github.com/users/eduramiba/following{/other_user}","gists_url":"https://api.github.com/users/eduramiba/gists{/gist_id}","starred_url":"https://api.github.com/users/eduramiba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eduramiba/subscriptions","organizations_url":"https://api.github.com/users/eduramiba/orgs","repos_url":"https://api.github.com/users/eduramiba/repos","events_url":"https://api.github.com/users/eduramiba/events{/privacy}","received_events_url":"https://api.github.com/users/eduramiba/received_events","type":"User","site_admin":false},"created_at":"2016-06-24T10:55:23Z","updated_at":"2016-06-24T10:55:23Z","body":"Closing old issue. See #1290"}}
{"actor":{"display_login":"eduramiba"}}