Code Monkey home page Code Monkey logo

banksformer-2022's Introduction

Banksformer - A Transformer based model for generating sythetic Banking data based on real data.

This model can be used with the example dataset, which is a processed version of the Czech Banking data available here: https://data.world/lpetrocelli/some-translatedreformatted-czech-banking-data

Notes:

  • If you are using the unprocessed data from data.world, place it in 'raw_czech' and run 'nb0-1_create_dataset.ipynb' to do some basic preprocessing.

  • If you want to run everything over again from scratch, run 'nb0-2_clear_old.ipynb', which clears all the created files besides the processed dataset.

Workflow: Run the notebooks in the order: nb1, nb2, nb3. (Notebooks beginning with nb0- may or may not be necessary). Specifically:

  • 'nb1_set_configs.ipynb' - Here you need to set some information if you are using a new dataset. This nb ensures correct fields exist in dataframe, and stores information about the configurations used.
  • 'nb2_create_tensors.ipynb' - This nb takes the dataframe produced by nb1, and encodes the data as tensors, used for training the networks.
  • 'nb3_banksformer.ipynb' - This nb trains banksformer models on the tensors, and then uses the trained models to generate synthetic datasets.

The nb 'visualize_bf.ipynb' can be used to load a trained Banksformer model and visualize how it generates data.

banksformer-2022's People

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.