All Projects → cszhangzhen → Anrl

cszhangzhen / Anrl

ANRL: Attributed Network Representation Learning via Deep Neural Networks(IJCAI-2018)

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Anrl

Onnx Scala
An ONNX (Open Neural Network eXchange) API and Backend for Typeful, Functional Deep Learning in Scala
Stars: ✭ 68 (-11.69%)
Mutual labels:  deep-neural-networks
Channelnets
Tensorflow Implementation of ChannelNets (NeurIPS 18)
Stars: ✭ 73 (-5.19%)
Mutual labels:  deep-neural-networks
Tfjs Core
WebGL-accelerated ML // linear algebra // automatic differentiation for JavaScript.
Stars: ✭ 8,514 (+10957.14%)
Mutual labels:  deep-neural-networks
Blinkdl
A minimalist deep learning library in Javascript using WebGL + asm.js. Run convolutional neural network in your browser.
Stars: ✭ 69 (-10.39%)
Mutual labels:  deep-neural-networks
Noreward Rl
[ICML 2017] TensorFlow code for Curiosity-driven Exploration for Deep Reinforcement Learning
Stars: ✭ 1,176 (+1427.27%)
Mutual labels:  deep-neural-networks
Awesome System For Machine Learning
A curated list of research in machine learning system. I also summarize some papers if I think they are really interesting.
Stars: ✭ 1,185 (+1438.96%)
Mutual labels:  deep-neural-networks
Pinns Tf2.0
TensorFlow 2.0 implementation of Maziar Raissi's Physics Informed Neural Networks (PINNs).
Stars: ✭ 67 (-12.99%)
Mutual labels:  deep-neural-networks
Deepsequenceclassification
Deep neural network based model for sequence to sequence classification
Stars: ✭ 76 (-1.3%)
Mutual labels:  deep-neural-networks
Rnn Trajmodel
The source of the IJCAI2017 paper "Modeling Trajectory with Recurrent Neural Networks"
Stars: ✭ 72 (-6.49%)
Mutual labels:  deep-neural-networks
Caffe2
Caffe2 is a lightweight, modular, and scalable deep learning framework.
Stars: ✭ 8,409 (+10820.78%)
Mutual labels:  deep-neural-networks
Gluon2pytorch
Gluon to PyTorch deep neural network model converter
Stars: ✭ 70 (-9.09%)
Mutual labels:  deep-neural-networks
My Journey In The Data Science World
📢 Ready to learn or review your knowledge!
Stars: ✭ 1,175 (+1425.97%)
Mutual labels:  deep-neural-networks
Fake news detection deep learning
Fake News Detection using Deep Learning models in Tensorflow
Stars: ✭ 74 (-3.9%)
Mutual labels:  deep-neural-networks
Deeplearning4j
All DeepLearning4j projects go here.
Stars: ✭ 68 (-11.69%)
Mutual labels:  deep-neural-networks
Dann
Deep Neural Network Sandbox for JavaScript.
Stars: ✭ 75 (-2.6%)
Mutual labels:  deep-neural-networks
Satellite Image Deep Learning
Resources for deep learning with satellite & aerial imagery
Stars: ✭ 1,141 (+1381.82%)
Mutual labels:  deep-neural-networks
Sarcasm Detection
Detecting Sarcasm on Twitter using both traditonal machine learning and deep learning techniques.
Stars: ✭ 73 (-5.19%)
Mutual labels:  deep-neural-networks
Cnn Paper2
🎨 🎨 深度学习 卷积神经网络教程 :图像识别,目标检测,语义分割,实例分割,人脸识别,神经风格转换,GAN等🎨🎨 https://dataxujing.github.io/CNN-paper2/
Stars: ✭ 77 (+0%)
Mutual labels:  deep-neural-networks
Swae
Implementation of the Sliced Wasserstein Autoencoders
Stars: ✭ 75 (-2.6%)
Mutual labels:  deep-neural-networks
Mit 6.s094
MIT-6.S094: Deep Learning for Self-Driving Cars Assignments solutions
Stars: ✭ 74 (-3.9%)
Mutual labels:  deep-neural-networks

ANRL

ANRL: Attributed Network Representation Learning via Deep Neural Networks (IJCAI-18)

This is a Tensorflow implementation of the ANRL algorithm, which learns a low-dimensional representations for each node in a network. Specifically, ANRL consists of two modules, i.e., neighbor enhancement autoencoder and attribute-aware skip-gram model, to jointly capture the node attribute proximity and network topology proximity.

Requirements

  • python2.7 or python3.6
  • tensorflow
  • networkx
  • numpy
  • scipy
  • scikit-learn

All required packages are defined in requirements.txt. To install all requirement, just use the following commands:

pip install -r requirements.txt

Basic Usage

Input Data

For node classification, each dataset contains 3 files: edgelist, features and labels.

1. citeseer.edgelist: each line contains two connected nodes.
node_1 node_2 (weight)
node_2 node_3 (weight)
...

2. citeseer.feature: this file has n+1 lines.
The first line has the following format:
node_number feature_dimension
The next n lines are as follows: (each node per line ordered by node id)
(for node_1) feature_1 feature_2 ... feature_n
(for node_2) feature_1 feature_2 ... feature_n
...

3. citeseer.label: each line represents a node and its class label.
node_1 label_1
node_2 label_2
...

For link prediction, each dataset contains 3 files: training edgelist, features and test edgelist.

1. xxx_train.edgelist: each line contains two connected nodes.
node_1 node_2 (weight)
node_2 node_3 (weight)
...

2. xxx.feature: this file has n+1 lines.
The first line has the following format:
node_number feature_dimension
The next n lines are as follows: (each node per line ordered by node id)
(for node_1) feature_1 feature_2 ... feature_n
(for node_2) feature_1 feature_2 ... feature_n
...

3. xxx_test.edgelist: each line contains two connected nodes.
node_1 node_2 1 (positive sample)
node_2 node_3 0 (negative sample)
...

Output Data

The output file has n+1 lines as the input feature files. The first line has the following format:

node_number embedding_dimension

The next n lines are as follows: node_id dim_1, dim_2, ... dim_d

Run

To run ANRL, just execute the following command for node classification task:

python main.py

Note: As for simulating random walks, we directly use the code provided in node2vec, which levearges alias sampling to faciliate the procedure.

Citing

If you find ANRL useful for your research, please consider citing the following paper:

@inproceedings{ijcai2018-438,
  title     = {ANRL: Attributed Network Representation Learning via Deep Neural Networks},
  author    = {Zhen Zhang and Hongxia Yang and Jiajun Bu and Sheng Zhou and Pinggang Yu and Jianwei Zhang and Martin Ester and Can Wang},
  booktitle = {Proceedings of the Twenty-Seventh International Joint Conference on
               Artificial Intelligence, {IJCAI-18}},
  publisher = {International Joint Conferences on Artificial Intelligence Organization},             
  pages     = {3155--3161},
  year      = {2018},
  month     = {7},
  doi       = {10.24963/ijcai.2018/438},
  url       = {https://doi.org/10.24963/ijcai.2018/438},
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].