Skip to content

sunil3590/snap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

snap

Given a ego network of a Facebook user, find the social circles a new friend belongs to

Paper

Dataset

http://snap.stanford.edu/data/

Algorithm

Goal is to predict the social cirlces to which a new facebook friend belongs to

  • Compute alpha and theta which explains the existing friends and their circles
  • Use gradient ascent with log likelihood function as cost
  • Assign the new friend to all combinations of circles and keep the assignment that gives the maximum log likelihood

Evaluation

To evaluate, we use leave one out methodology.

  • Precision = ~24%
  • Recall = ~86%
  • Accuracy = ~72%

To run

mvn compile exec:java

Tools needed

  • JDK
  • Maven sudo apt-get install maven

About

Implementation of Stanford's SNAP algorithm

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages