Coder Social home page Coder Social logo

hsrl's Introduction

HSRL

This repository provides a reference implementation of HSRL as described in the paper.

Basic Usage

$ python hsrl.py --input 'data/movielens/train_edges.txt' --output 'output/movielens/movielens_dw_hs_lp_embeddings.txt' --method deepwalk

noted: your can just checkout hsrl.py to get what you want.

Input

Your input graph data should be a txt file and be under data folder.

file format

The txt file should be edgelist.

txt file sample

0 163
0 359
0 414
...
5297 4973

noted: The nodeID start from 0.
noted: The graph should be an undirected graph, so if (I J) exist in the Input file, (J I) should not.

Citing

If you find HSRL useful in your research, please cite our paper:

@inproceedings{fu2019learning,
  title={Learning topological representation for networks via hierarchical sampling},
  author={Fu, Guoji and Hou, Chengbin and Yao, Xin},
  booktitle={2019 International Joint Conference on Neural Networks (IJCNN)},
  pages={1--8},
  year={2019},
  organization={IEEE}
}

hsrl's People

Contributors

guoji-fu avatar houchengbin avatar

Stargazers

rabbit avatar ander avatar  avatar huahua avatar fireindark707 avatar  avatar Aguinaldo Bezerra avatar a_tr_i avatar  avatar  avatar fdS avatar  avatar

Watchers

 avatar  avatar paper2code - bot avatar

hsrl's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.