Skip to content

A Python implemetation of HRank path-based ranking algorithm.

Notifications You must be signed in to change notification settings

007prateekd/hrank

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hrank

This repo conatins the Python implementation of the paper HRank: A Path based Ranking Framework in Heterogeneous Information Network. Of the 3 methods mentioned in the paper, two have been implemented:

  1. HRank-SY (for symmetric metapaths)
  2. HRank-AS (for asymmetric metapaths)

An additional count-based method was also implemented to compare the rankings. The rankings are compared using the RBO (Rank-biased Overlap) method.

Usage

  1. Write your own metapaths in metapaths.py in the required format or use the already existing metapaths.
  2. Run python3 hrank.py.
  3. The output would consist of the information related to the graph of metapaths, the rankings as well as the RBO score. The ranking results would also be stored in ranks.csv.

About

A Python implemetation of HRank path-based ranking algorithm.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages