Giter Club home page Giter Club logo

report's Introduction

REPORT

This is the REPORT code for fake news detection. We are currently using twitter15&16 dataset

Current Structure:

Project structures of this repo are listed in project_structure.txt

requirements:

1.torch_geometric: (also called 'PyG')

torch_geometric does not support conda installation currently, please view your installing versions at here, and install it with pip. you need to install 4 dependencies before installing PyG:

  • torch-scatter
  • torch-sparse
  • torch-cluster
  • torch-spline-conv


an example of installation:
  • Python: 3.8.5
  • Pytorch: 1.5.0 (torch_geometric is currently available to up to torch 1.5.0)
  • cuda: 10.2

script:

    pip install torch-scatter==2.0.4+cu102 -f https://pytorch-geometric.com/whl/torch-1.5.0.html
    pip install torch-sparse==0.6.3+cu102 -f https://pytorch-geometric.com/whl/torch-1.5.0.html
    pip install torch-cluster==1.5.4+cu102 -f https://pytorch-geometric.com/whl/torch-1.5.0.html
    pip install torch-spline-conv==1.2.0+cu102 -f https://pytorch-geometric.com/whl/torch-1.5.0.html
    pip install torch-geometric
    # change 'cu102' to 'cpu' or 'cu101' or others depending on your PyTorch installation. 
dataset

all data are put in datasets/, complete dataset is available at: https://www.dropbox.com/home/FakeNew2020/datasets

Steps for pre_processing:

  1. in each folder that contain task.py, configure the parameter according to your experiments.
  2. in datasets/twitter15(6)/raw_data/, run raw_data.bat
  3. in pre_process/, run pre_process.bat
  4. in load_data15(6)/, run add_label.py and count_tweet.py

report's People

Contributors

hrukalive avatar shj1987 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

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