rafguns/linkpred

What link prediction method is used by the sample code in the linkpred folder

Echo-pt opened this issue · 4 comments

What sample code are you referring to?

图片
I would like to ask about the code in the Linkpred folder in this image

Hi, linkpred provides you with a set of methods for predicting and evaluating. Which ones you use and how is up to you, so it is not typical "sample code" in that sense.

That being said, the package currently implements the following link prediction methods (look around in https://github.com/rafguns/linkpred/tree/master/linkpred/predictors):

  • rooted PageRank
  • SimRank
  • community
  • Adamic/Adar
  • Association strength
  • Common neighbours
  • Cosine
  • Degree product
  • Jaccard
  • Max overlap
  • Min overlap
  • N measure
  • Pearson
  • Resource allocation
  • Graph distance
  • Katz
  • (plus two baseline methods: copy and random)

Most of these are described in any base text on link prediction, suh as the seminal paper by Liben-Nowell and Kleinberg.

I think this can be closed? Please reopen if this is not properly answered/resolved.