Giter Site home page Giter Site logo

victordasilvavat / elliptic_to_evolvegcn_conversion_utility Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cwinsor/elliptic_to_evolvegcn_conversion_utility

0.0 0.0 0.0 26 KB

Preprocess Elliptic graph dataset for reading by EvolveGCN

License: GNU General Public License v3.0

Python 99.25% Dockerfile 0.75%

elliptic_to_evolvegcn_conversion_utility's Introduction

elliptic_to_evolvegcn_dataset_conversion_utility

The utility converts the Elliptic graph dataset into format needed by EvolveGCN following Steps 0,1,2,3,4 at https://github.com/IBM/EvolveGCN/blob/master/elliptic_construction.md

Elliptic is a company specializing in identifying fradulent crypto transactions. For research purposes they have published the Elliptic dataset - a subset of Bitcoin transactions in the form of a graph. EvolveGCN is a machine learning-based graph analysis tool by researchers at MIT and IBM designed to analyze the Elliptic data. It requires preprocessing of the Elliptic data. The utility here performs that preprocessing.

The utility takes the 3 Elliptic dataset .csv files:

  • elliptic_txs_classes.csv
  • elliptic_txs_edgelist.csv
  • elliptic_txs_features.csv

and writes into a separate folder the 5 .csv files needed by EvolveGCN:

  • elliptic_txs_classes.csv
  • elliptic_txs_edgelist_timed.csv
  • elliptic_txs_features.csv
  • elliptic_txs_nodetime.csv
  • elliptic_txs_orig2contiguos.csv

Prerequisites: Docker

To run: Make a folder with the 3 Elliptic dataset .csv files. The dataset is available at https://www.kaggle.com/datasets/ellipticco/elliptic-data-set cd into the folder Run the docker image with the following command: docker run -it -v $PWD:/dataset ellipse_to_evolvegcn Within the docker container run the conversion utility: python convert.py --source_folder /dataset --dest_folder /dataset/evolvegcn_format The EvolveGCN files will be put in a subfolder ./evolvegcn_format Exit the docker container Back on the host the EvolveGCN dataset will be a sub-folder evolvegcn_format ls ./evolvegcn_format

elliptic_to_evolvegcn_conversion_utility's People

Contributors

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