Giter VIP home page Giter VIP logo

graphuil's Introduction

GraphUIL

Our Pytorch implementation of Graph Neural Networks for User Identity Linkage.

1. Requirements

To install requirements:

pip install -r requirements.txt

2. Repository Structure

  • data/: contains the processed data.

    • graph/: adj_s.pkl, adj_t.pkl: adjacency matrices of the source network and the target network. embeds.pkl: textual input features of two networks.
    • label/: anchor files, train_test_0.x.pkl splits the training anchors at ratios range from 0.1 to 0.9.

    The dataset Douban-Weibo is provided by the PHD student Siyuan Chen. If you use the data, please cite the following paper. More details refer to INFUNE.

    @inproceedings{chen2020infune,
       title={A Novel Framework with Information Fusion and Neighborhood Enhancement for User Identity Linkage},
       author={Chen, Siyuan and Wang, Jiahai and Du, Xin and Hu, Yanqing},
       booktitle={24th European Conference on Artificial Intelligence (ECAI)},
       pages={1754--1761},
       year={2020}
    }
    
  • logs/: saving logs

  • models/: contains loss function and metric for evaluation.

    • base.py
    • loss.py
    • netEncode.py: GNN layer.
  • UIL/GraphUIL.py: GraphUIL framework.

  • utils/: tool functions for processing data and logging.

  • config.py: hyperparameters.

  • main.py.

3. Runing

python main.py

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.