Giter VIP home page Giter VIP logo

sfme / rvae_mixedtypes Goto Github PK

View Code? Open in Web Editor NEW
49.0 2.0 12.0 1.1 MB

Repository for code release of paper "Robust Variational Autoencoders for Outlier Detection and Repair of Mixed-Type Data" (AISTATS 2020)

License: MIT License

Python 98.06% Shell 1.94%
outlier-detection robust-variational-autoencoders repair tabular-data deep-learning generative-model data-analysis unsupervised-learning pytorch python

rvae_mixedtypes's People

Contributors

sfme avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

rvae_mixedtypes's Issues

[BUG] Errors for Dataset with No Categorical Columns

For custom dataset with no categorical columns, the following error will raise when running python core_models/main.py ,

TypeError: reduce() of empty sequence with no initial value from

## global defs
self.size_tensor_one_hot = reduce((lambda x, y: x + y), map(len, self.cat_to_idx.values())) + len(num_feat_names)

I think adding a default 0 value in the reduce method should solve the problem.

wine_type category type mismatch in Wine dataset noising

This resulted in all rows with mismatch in wine_type column. The problem was df_from was dtype str and df_to was dtype float.

Fixed with these two transformation:
' noised_data_df[run_stats["cat_cols_names"]].astype(int).astype(str).apply(lambda x: x.astype('category'))'

in ~ line 476 in `dataset_prep_utils.py'

Probably would be better to fix category type to incoming data to make this more general.

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.