Skip to content

Abel0828/supervised_hypergraph_reconstruction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Supervised Hyeprgraph Reconstruction (Data and Code)

Anonymous Authors

Data Sources

We have processed all data from the sources and put them in data/. Notice that the P.School dataset is put in (and renamed) school, the H.School dataset is put in (and renamed) school2.

Environment

  • python >= 3.5, Anaconda3
  • numpy>=1.20
  • sklearn>=0.24
  • networkx>=2.5.1
  • graph-tool>=2.44 (for evaluating the baseline Bayesian-MDL)
  • cdlib>=0.2.5 (for evaluating the baselines Demon, CFinder)
  • tqdm
  • Build: g++ -std=c++11 -pthread cmotif.cpp -o cmotif

Running the Code

python main.py --dataset <dataset> --beta <beta> --features <features>

  • <features> can be either count or motif.
  • As mentioned in the paper, beta depend on datasets. Combinations:
    • --dataset dblp --beta 1000000
    • --dataset enron --beta 1000
    • --dataset school --beta 350000
    • --dataset school2 --beta 60000
    • --dataset foursquare --beta 20000
    • --dataset hosts --beta 6000
    • --dataset directors --beta 800
    • --dataset crime --beta 1000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •