Adamic Adar (Beta)
The Adamic/Adar index is a measure introduced in 2003 by Lada Adamic and Eytan Adar to predict links in a social network, according to the number of shared links between two nodes. It is defined as the sum of the inverse logarithmic degree centrality of the neighbors shared by the two nodes.
Where 𝑁(𝑢) is the set of nodes adjacent to u.
Specification
Parameters
Name | Description | Data type |
| A vertex. |
|
| A vertex. |
|
| Edge types to traverse. |
|
Return value
The Adamic Adar index between two vertices. If the two vertices do not have common neighbors, the algorithm will return a division by 0 error.
Example
Suppose we have the graph below:
Running the algorithm between Jenny and Dan will give us a result of 1/log(2)=3.321931.
Last updated