Skip to content

An implementation of SimRank and SimRank++ algorithms on both directive graphs and bipartitle graphs, with matrix manipulations to reduce the calculation complexity effectively.

Notifications You must be signed in to change notification settings

ysong1231/SimRank

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimRank

A Python implementation of SimRank and SimRank++ algorithms on both directive graphs and bipartitle graphs, with matrix manipulations to reduce the calculation complexity effectively.

  • The algorithm is implemented in a matrix manipulation fashion instead of the traditional recursion method.

Author

Yilin Song

Requirements

  1. Pandas
  2. Numpy

Examples

This repo includes simple examples using the BTS Flight dataset to demonstrate the usage of SimRank class (SimRank algorithm) and SimRankPP class (SimRank++ algorithm) on a directive graph.

Also, the MovieLens dataset was used for demonstrating the usage of BipartitleSimRank class (SimRank algorithm) and BipartitleSimRankPP class (SimRank++ algorithm) on a bipartitel graph.

Check the sample notebook for details

About

An implementation of SimRank and SimRank++ algorithms on both directive graphs and bipartitle graphs, with matrix manipulations to reduce the calculation complexity effectively.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages