Giter Site home page Giter Site logo

rootlu / rhine Goto Github PK

View Code? Open in Web Editor NEW
55.0 3.0 14.0 36.68 MB

Source code for AAAI 2019 paper "Relation Structure-Aware Heterogeneous Information Network Embedding"

Python 100.00%
network-embedding heterogeneous-information-networks relational-networks aaai2019

rhine's Introduction

RHINE

Source code for AAAI 2019 paper "Relation Structure-Aware Heterogeneous Information Network Embedding"

Requirements

  • Python 2.7

  • numpy

  • scipy

  • PyTorch (0.3.0)

  • My machine with two GPUs (NVIDIA GTX-1080 *2) and two CPUs (Intel Xeon E5-2690 * 2)

Description

RHINE/
├── code
│   ├── config
│   │   ├── Config.py:configs for model.
│   │   └──_init_.py
│   ├── evaluation.py: evaluate the performance of learned embeddings w.r.t clustering and classification
│   ├── models
│   │   ├── _init_.py
│   │   ├── Model.py: the super model with some functions
│   │   └── RHINE.py: our model
│   ├── preData
│   │   └── dblpDataHelper.py: data preparation for our mode
│   ├── release
│   │   ├── Sample_ARs.so: sampling with dll
│   │   └── Sample_IRs.so
│   └── trainRHINE.py: train model
├── data
│   └── dblp
│       ├── node2id.txt: the first line is the number of nodes, (node_type+node_name, node_id)
│       ├── paper_label.txt: (node_name, label)
│       ├── relation2id.txt: the first line is the number of relations, 		   (relation_name, relation_id)
│       ├── train2id_apc.txt:  (node1_id, node2_id, relation_id, weight)
│       ├── train2id_pc.txt
│       ├── train2id_ap.txt
│       ├── train2id_pt.txt
│       ├── train2id_apt.txt
│       ├── train2id_ARs.txt: the first line is the number of ARs triples, (node1_id, node2_id, relation_id, weight)
│       └── train2id_IRs.txt
├── README.md
└── res
    └── dblp
        └── embedding.vec.ap_pt_apt+pc_apc.json: the learned embeddings 

Reference

@inproceedings{Yuanfu2019RHINE,
  title={Relation Structure-Aware Heterogeneous Information Network Embedding},
  author={Yuanfu Lu, Chuan Shi, Linmei Hu, Zhiyuan Liu.}
  booktitle={Proceedings of AAAI},
  year={2019}
}

rhine's People

Contributors

rootlu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

rhine's Issues

data issue

hi,can you offer the complete data set? i cant run the code with the given data,thanks.

Operational problems

Oserror: [winerror 193]% 1 is not a valid Win32 Application.
This problem I can't solve it, can you tell me how to deal with it ?
Thanks!

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.