All Projects → YeongHyeon → FARED_for_Anomaly_Detection

YeongHyeon / FARED_for_Anomaly_Detection

Licence: MIT license
Official source code of "Fast Adaptive RNN Encoder-Decoder for Anomaly Detection in SMD Assembly Machine"

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to FARED for Anomaly Detection

Telemanom
A framework for using LSTMs to detect anomalies in multivariate time series data. Includes spacecraft anomaly data and experiments from the Mars Science Laboratory and SMAP missions.
Stars: ✭ 589 (+4107.14%)
Mutual labels:  rnn, anomaly-detection
Speech-Recognition
End-to-end Automatic Speech Recognition for Madarian and English in Tensorflow
Stars: ✭ 21 (+50%)
Mutual labels:  rnn, rnn-encoder-decoder
Kaggle Web Traffic
1st place solution
Stars: ✭ 1,641 (+11621.43%)
Mutual labels:  rnn, rnn-encoder-decoder
char-VAE
Inspired by the neural style algorithm in the computer vision field, we propose a high-level language model with the aim of adapting the linguistic style.
Stars: ✭ 18 (+28.57%)
Mutual labels:  rnn, rnn-encoder-decoder
Ad examples
A collection of anomaly detection methods (iid/point-based, graph and time series) including active learning for anomaly detection/discovery, bayesian rule-mining, description for diversity/explanation/interpretability. Analysis of incorporating label feedback with ensemble and tree-based detectors. Includes adversarial attacks with Graph Convolutional Network.
Stars: ✭ 641 (+4478.57%)
Mutual labels:  rnn, anomaly-detection
Rnn Time Series Anomaly Detection
RNN based Time-series Anomaly detector model implemented in Pytorch.
Stars: ✭ 718 (+5028.57%)
Mutual labels:  rnn, anomaly-detection
Automatic speech recognition
End-to-end Automatic Speech Recognition for Madarian and English in Tensorflow
Stars: ✭ 2,751 (+19550%)
Mutual labels:  rnn, rnn-encoder-decoder
anomalib
An anomaly detection library comprising state-of-the-art algorithms and features such as experiment management, hyper-parameter optimization, and edge inference.
Stars: ✭ 1,210 (+8542.86%)
Mutual labels:  anomaly-detection
micSwitch
macOS menu bar application for the mic mute/unmute with single click or shortcut with walkie-talkie style support
Stars: ✭ 37 (+164.29%)
Mutual labels:  microphone
PANDA
PANDA: Adapting Pretrained Features for Anomaly Detection and Segmentation (CVPR 2021)
Stars: ✭ 64 (+357.14%)
Mutual labels:  anomaly-detection
ArrayLSTM
GPU/CPU (CUDA) Implementation of "Recurrent Memory Array Structures", Simple RNN, LSTM, Array LSTM..
Stars: ✭ 21 (+50%)
Mutual labels:  rnn
Solar-Rad-Forecasting
In these notebooks the entire research and implementation process carried out for the construction of various machine learning models based on neural networks that are capable of predicting levels of solar radiation is captured given a set of historical data taken by meteorological stations.
Stars: ✭ 24 (+71.43%)
Mutual labels:  rnn
Feature-Engineering-for-Fraud-Detection
Implementation of feature engineering from Feature engineering strategies for credit card fraud
Stars: ✭ 31 (+121.43%)
Mutual labels:  anomaly-detection
Paper-Implementation-DSTP-RNN-For-Stock-Prediction-Based-On-DA-RNN
基於DA-RNN之DSTP-RNN論文試做(Ver1.0)
Stars: ✭ 62 (+342.86%)
Mutual labels:  rnn
Echo
A simple iOS application redirects microphone input to the Bluetooth audio device
Stars: ✭ 33 (+135.71%)
Mutual labels:  microphone
cnn-rnn-bitcoin
Reusable CNN and RNN model doing time series binary classification
Stars: ✭ 28 (+100%)
Mutual labels:  rnn
kaspersky hackathon
https://events.kaspersky.com/hackathon/
Stars: ✭ 25 (+78.57%)
Mutual labels:  anomaly-detection
tilitools
[ti]ny [li]ttle machine learning [tool]box - Machine learning, anomaly detection, one-class classification, and structured output prediction
Stars: ✭ 40 (+185.71%)
Mutual labels:  anomaly-detection
solar-forecasting-RNN
Multi-time-horizon solar forecasting using recurrent neural network
Stars: ✭ 29 (+107.14%)
Mutual labels:  rnn
Text-Generate-RNN
中国古诗生成(文本生成)
Stars: ✭ 106 (+657.14%)
Mutual labels:  rnn

Fast Adaptive RNN Encoder-Decoder for Anomaly Detection in SMD Assembly Machine

Introduction

This repository provides the source code of the paper "Fast Adaptive RNN Encoder-Decoder for Anomaly Detection in SMD Assembly Machine" [pdf].

The SMD assembly machine with microphone (red box)

Requirements

  • Python 3.7.6
  • Tensorflow 1.14.0
  • Numpy 1.18.1
  • Scipy 1.4.1
  • Matplotlib 3.1.2
  • Librosa 0.6.2

Usage

Preparing the dataset

First, Organize the audio dataset and keep as below (when using other wav files). This repository provides example of data organization, so you can conduct experiment directly!

data_for_experiment
├── Class-1
│   ├── data_1.wav
│   ├── data_2.wav
│   ├── data_3.wav
│   │     ...
│   └── data_n.wav
├── Class-2
│     ...
└── Class-3

Run the python script as following.

$ cd preprocessing_source
$ python dat2npy_mfcc.py

After, running above python script the directory named with 'dataset_mfcc' will be generated. Use dat2npy_stft.py instead of dat2npy_mfcc.py if you want to train FARED with Short Time Fourier Transform (STFT). The sample dataset is available at sample_data.

Training and Test

$ cd FARED_source
$ python run.py

After, training FARED, it measure the reconstruction error for each class. Reconstruction errors will be saved in 'valids' directory with 'npy' file. You can calculate Area Under the Curve (AUC) of Receiver Operating Characteristic (ROC) curve or something.

The result of the experiment may differ to paper because we provide only sample audio data.

Architecture of Fast Adaptive RNN Encoder-Decoder

Result with sample data

The experimental result with sample data.

The left figure shows loss convergence of training procedure and the right figure shows measured errors.

The higher error means that it is out of the normal scope.

BibTeX

@Article{s18103573,
  AUTHOR = {Park, YeongHyeon and Yun, Il Dong},
  TITLE = {Fast Adaptive RNN Encoder–Decoder for Anomaly Detection in SMD Assembly Machine},
  JOURNAL = {Sensors},
  VOLUME = {18},
  YEAR = {2018},
  NUMBER = {10},
  ARTICLE-NUMBER = {3573},
  URL = {http://www.mdpi.com/1424-8220/18/10/3573},
  ISSN = {1424-8220},
  DOI = {10.3390/s18103573}
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].