Skip to content

IdeasLabUT/Homophily-Aware-Link-Recommendation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Homophily-Aware-Link-Recommendation

Data can be obtained from: https://zenodo.org/record/4589065#.YN51ZOhKguU

all.graphml is read using NetworkX's read_graphml() function.

The majority of functionality pertaining to analysis, network functions, and metrics is contained in homophily_analysis.py. The various link recommendation algorithms are in rec_algs.py, as well as a function to get scores for the opposite random algorithm.

The two score functions we define based on polarization, adjacent and egonet polarization scores, are in score_functions.py.

In homophily_analysis.py, main gives an example of how these functions can be used for analysis.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages