Giter Club home page Giter Club logo

infovgae_visual_assertion's Introduction

InfoVGAE

The source code for SIGIR 2022 paper: "Unsupervised Belief Representation Learning with Information-Theoretic Variational Graph Auto-Encoders"

Training

To run InfoVGAE on Eurovision dataset:

python3 main.py --config_name InfoVGAE_eurovision_3D

To run InfoVGAE on Election dataset:

python3 main.py --config_name InfoVGAE_election_3D

To run InfoVGAE on Voteview 105th Congress dataset:

python3 main.py --config_name InfoVGAE_bill_3D

To run InfoVGAE on TIMME dataset:

python3 main.py --config_name InfoVGAE_timme_3D

To run InfoVGAE on TIMME dataset with follow (friend) links:

python3 main.py --config_name InfoVGAE_timme_follow_3D

The embeddings, labels, figures, and top-k tweets (only applicable for Twitter datasets), etc, will be saved in ./output

Dataset

We uploaded the pre-processed datasets with smaller size, due to the file size limits of Github. The datasets are located in dataset/election, dataset/eurovision, and dataset/bill. It may takes some time to clone this repo (297MB). After cloning this repo, please run:

unzip dataset/bill/bmap2.pkl.zip; unzip dataset/bill/data_80_115.pkl.zip

Evaluation

Evaluation will be automaticly triggered after the training process. To evaluate again, modify the evaluator.init_from_dir() in evaluate.py.

Other arguments for training:

General

--use_cuda: training with GPU

--epochs: iterations for training

--learning_rate: learning rate for training

--device: which gpu to use. empty for cpu.

--num_process: num process for pandas processing

Data

--data_path: csv path for data file

--stopword_path: stopword path for text parsing

--kthreshold: tweet count threshold to filter not popular tweets.

--uthreshold: user count threshold to filter not popular users.

For InfoVGAE model

--hidden1_dim: the latent space dimension of first layer

--hidden2_dim: the latent space dimension of target layer

Result

--output_path path to save the result

infovgae_visual_assertion's People

Contributors

jinningli avatar tracy3057 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.