Skip to content

SamujjwalSam/xc

 
 

Repository files navigation

xc

  • Install dependencies: conda install --yes --file requirements.txt

  • Parse and generate label graph from a file in the Dataset - python utils/util.py <data_file_path> <label_file_path>

Note: an example graph file is added already under samples to be viewed through gephi

Gephi Tutorial

Example graphs with different file formats:

  1. Zachary's Karate Graph W. W. Zachary, An information flow model for conflict and fission in small groups, Journal of Anthropological Research 33, 452-473 (1977).
  2. Gnutella peer-to-peer network, August 8 2002 M. Ripeanu and I. Foster and A. Iamnitchi. Mapping the Gnutella Network: Properties of Large-Scale Peer-to-Peer Systems and Implications for System Design. IEEE Internet Computing Journal, 2002.
  3. BlogCatalog Lei Tang and Huan Liu. Relational Learning via Latent Social Dimensions. In Proceedings of The 15th ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD'09), pages 817-826, 2009.

To generate deepwalk output from any train or test file:

from exact_dxml import ExactDXML
ExactDXML().fit(<train_file_path>, <deepwalk_output_file_path>)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 66.2%
  • Jupyter Notebook 33.8%