Git Product home page Git Product logo

pt-iaead's Introduction

Improved Autoencoder for Unsupervised Anomaly Detection

Introduction

This is the official implementation of the IAEAD framework presented by "Improved Autoencoder for Unsupervised Anomaly Detection ". The codes are used to reproduce experimental results of CAE and IAEAD reported in the paper.

Requirements

  • Python 3.6
  • PyTorch 1.3.1 (GPU)
  • Keras 2.2.0
  • Tensorflow 1.8.0 (GPU)
  • sklearn 0.19.1

Usage

To obtain the results of IAEAD on MNIST with default settings, simply run the following command:

python main.py --run_times=1 --gpu_id=0 --method=iae --dataset=mnist --ratio=0.1 --para_lambda=5e-5

After training, to print UAD results for a specific algorithm in AUROC/AUPR, run:

# AUROC of IPAE on CIFAR10 with outlier ratio 0.1
python evaluate_roc_auc.py --dataset cifar10 --algo_name iae-0.1

# AUPR of IPAE on MNIST with outlier ratio 0.25 and inliers as the postive class
python evaluate_pr_auc.py --dataset mnist --algo_name iae-0.1 --postive inliers

Credit

License

IAEAD is released under the MIT License.

pt-iaead's People

Contributors

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