Skip to content

onlyff/LSTM_Anomaly_Detector

 
 

Repository files navigation

LSTM Based Anomaly Detection

Hypothetically it should be possible to autoencoder an LSTM in order to build an anomaly detector. This proves that this is possible.

Example

It is shown that a simple sin wave with added amplitudal noise can be detected if trained with a pure unsupervised LSTM autoencoder.

The entire signal as it is presented to the network [sliding window] :

Alt text

The signal approximation (mean) :

Alt text

The MSE output of the LSTM detector:

Alt text

The number of noise samples added (and caught):

Alt text

About

A try to autoencode an LSTM to do anomaly detection

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%