Giter VIP home page Giter VIP logo

bgnn-aml's Introduction

This code is for the paper Bitcoin Anti-Money Laundering Based on BGNN Graph Neural Network

The BGNN Graph Neural Network algorithm is used in the project which is from the ICLR 2021 paper: Boost then Convolve: Gradient Boosting Meets Graph Neural Networks

The elliptic dataset is from the kaggle.

This code contains implementation of the following models for graphs based on the bgnn model:

  • BGNN (end-to-end {CatBoost + {ARMA, hGANet, DAGNN}})
First, you should download the repository and install some necessary packages according to the requirements, you can use the following command:

pip install -r requirements.txt

Second, you can run the code with the following scripts
1) first you should process the original dataset, generate the graph dataset, you can execute the following code:

python scripts/preprocessing_elliptic.py


2) train the test the model.
nohup python scripts/run.py datasets/elliptic  bgnn --max_seeds 5 \
--repeat_exp 5 --task classification  \
--metric f1  --save_folder ./results/elliptic_bgnn \
--version_num 1.0 2>&1 > log_test_202109.txt  &

bgnn-aml's People

Contributors

lvjiujin avatar

Watchers

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