Giter VIP home page Giter VIP logo

btg's Introduction

BTG

PyTorch implementation for the paper below:
BTG: A Bridge to Graph machine learning in telecommunications fraud detection

Running BTG

To run the code, you need to have at least Python 3.7 or later versions. And follow the steps below :
1.Go to this site to download the 4 datasets, namely train_app.csv,train_sms.csv,train_user.csv,train_voc.csv;
2.Put the 4 downloaded datasets in the path: /BTG/data/train;
3.Run python data_process.py to extract features and generate dataset in DGL;
4.Run python train.py to run BTG with default settings on the dataset.

Repo Structure

The repository is organized as follows:

  • data_process.py: convert raw node features and adjacency matrix to DGL dataset;
  • main.py: training and testing BTG;
  • model.py: BTG model implementations;
  • layers.py: model layers;
  • utils.py: utility functions;
  • data: raw dataset in /data/train, and extracted dataset in /data/user_data.

Citation

@article{hu2022btg,
  title={BTG: A Bridge to Graph machine learning in telecommunications fraud detection},
  author={Hu, Xinxin and Chen, Hongchang and Liu, Shuxin and Jiang, Haocong and Chu, Guanghan and Li, Ran},
  journal={Future Generation Computer Systems},
  volume={137},
  pages={274--287},
  year={2022},
  publisher={Elsevier}
}

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.