Giter Site home page Giter Site logo

mtq's Introduction

Multivariate Triangular Quantiles for Novelty Detection

Pytorch implementation to replicate the experiments in our NIPS2019 paper "Multivariate Triangular Quantiles for Novelty Detection" (published soon).

Datasets

Models

This implementation includes the following models for novelty detection.

  • LSA: Autoencoder part in [2]
  • LSA_EN[2]: Autoencoder + Density Estimator in [2]
  • LSA_SOS: Autoencoder + TQM based on SOS-flow
  • LSA_MAF: Autoencoder + TQM based on MAF-flow
  • EN: density estimator in [2]
  • SOS: TQM based on SOS-Flow [3]
  • MAF: TQM based on MAF-Flow [1]

The LSA_SOS and LSA_MAF are two instances for our TQM. In our paper, we mainly apply LSA_SOS as the novelty detection model.

Environments

This code runs on Python >=3.6. Set up environment by:

pip install -r requirements.txt

Demo

In demo.sh, we give some examples to show the how to train/test a model on one dataset

Reference

Our implementation based on the following reference/code:

[1] Papamakarios G, Pavlakou T, Murray I. Masked autoregressive flow for density estimation[C]//Advances in Neural Information Processing Systems. 2017: 2338-2347.

[2] Abati D, Porrello A, Calderara S, et al. Latent Space Autoregression for Novelty Detection[C]//International Conference on Computer Vision and Pattern Recognition. 2019.

[3] Jaini, P., Selby, K. A., & Yu, Y. (2019). Sum-of-Squares Polynomial Flow. arXiv preprint arXiv:1905.02325.

mtq's People

Contributors

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