Giter VIP home page Giter VIP logo

rvae_mixedtypes's Introduction

RVAE for Mixed Type Features (Tabular Data)

Code for paper: "Robust Variational Autoencoders for Outlier Detection and Repair of Mixed-Type Data" AISTATS 2020. Check it here https://arxiv.org/abs/1907.06671. Please consider citing us if you use our code.

Instalation

  • Please install ./setup.py in folder ./src in order to use core_models package.

  • Use Pytorch 1.3.1 at least

Usage

Data folder

  • Clean is found (or inserted) in data_simple:
    • e.g. ./data_simple/Wine/Wine.csv
    • the folder contains both clean data, and then after nosing, several noisy replicas given by python noising_process.py in separate folders.

Output folder

  • Current scripts generate folder ./outputs_experiments_i/{dataset}/{noise_type}/{corruption_level}_run_j/{Model_Name}/
  • Therein results for outlier detection metrics (cell and row), and repair of cells are presented. The latter only if algorithm provides this.

Simple Work Flow

Noising a dataset:

  • Go to ./src/dataset_prep_simple/ to run noising of datasets in data folder:
    • Open noising_process.py
    • Edit script definitions: dataset; noise type; corruption level;
    • Run python noising_process.py

Running a model:

  • Go to ./src/scripts/ to run a specific model (choose from scripts therein):
    • Make sure you pick correct hyper-parameters (see paper), and turn --cuda-on for GPU. For instance:
      • sh run_RVAE_CVI.sh , for our main algorithm.
      • sh run_VAE_l2.sh , for VAE-L2 baseline.
      • sh run_CondPred.sh , for NN-based Conditional Predictor (pseudo-likelihood).
      • sh run_baselines.sh , for assorted baselines in paper.

License

MIT

rvae_mixedtypes's People

Contributors

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