Giter Club home page Giter Club logo

event2vec's Introduction

Event2vec

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

Environment

$ pip install -r requirements.txt

Basic Usage

$ python main.py --input 'data/dblp/dblp.txt' --output 'output/dblp/dblp_e2v_embeddings.txt'

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

Input

Your input graph data should be a txt file.

file format

The txt file should be edgelist.

txt file sample

0 163
0 359
0 414
...
5297 4973

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 Event2vec useful in your research, please cite our paper:

@article{fu2019representation,
 title={Representation Learning for Heterogeneous Information Networks via Embedding Events},
 author={Fu, Guoji and Yuan, Bo and Duan, Qiqi and Yao, Xin},
 journal={arXiv preprint arXiv:1901.10234},
 year={2019}
}

event2vec's People

Watchers

James Cloos avatar

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.