# LSTM Autoencoder for Anomaly Detection
Using LSTM Autoencoder to Detect Anomalies and Classify Rare Events.
So many times, actually most of real-life data, we have unbalanced data. Data were the events in which we are interested the most are rare and not as frequent as the normal cases. As in fraud detection, for instance. Most of the data is normal cases, whether the data is already labeled or not, and we want to detect the anomalies or when the fraud happens.
When dealing with unlabeled data, we usually go to **"outliers detection"** methods such as [Isolation Forest](https://en.wikipedia.org/wiki/Isolation_forest), **Cluster-Based Local Outlier Factor (CBLOF)**, **Histogram-Based Outlier Detection (HBOS)** etc. While labeled data is considered as a **"classification"** problem and classifiers like [Support Vector Machine (SVM)](https://en.wikipedia.org/wiki/Support-vector_machine) and [Random Forest](https://en.wikipedia.org/wiki/Random_forest) are used. However, given the positive data points are rare in the data, the algorithm finds it difficult to learn so much from the data. A classifier for example, usually ends up predicting "negative" for all cases to achieve the best accuracy.
Here we will look at a different approach that can be used in both supervised and unsupervised [anomaly detection](https://en.wikipedia.org/wiki/Anomaly_detection) and rare event classification problems. **Long Short-Term Memory Autoencoders**.
没有合适的资源?快使用搜索试试~ 我知道了~
lstm自动编码器以进行异常检测:使用LSTM自动编码器检测异常并对稀有事件进行分类
共3个文件
gitignore:1个
md:1个
ipynb:1个
5星 · 超过95%的资源 需积分: 45 52 下载量 110 浏览量
2021-02-21
03:45:00
上传
评论 9
收藏 97KB ZIP 举报
温馨提示
LSTM异常检测自动编码器 使用LSTM自动编码器检测异常并对稀有事件进行分类。 如此多次,实际上是现实生活中的大多数数据,我们都有不平衡的数据。 数据是我们最感兴趣的事件,很少见,不像正常情况下那么频繁。 例如,在欺诈检测中。 大多数数据是正常情况,无论数据是否已标记,我们都希望检测异常或何时发生欺诈。 处理未标记的数据时,我们通常会使用“异常值检测”方法,例如,基于聚类的局部离群值因子(CBLOF) ,基于直方图的离群值检测(HBOS)等。而标记的数据被视为“分类”问题和分类器,如和。 但是,由于正数据点在数据中很少见,因此该算法发现很难从数据中学到很多东西。 例如,分类器通常最终会在所有情况下都预测为“负”,以实现最佳准确性。 在这里,我们将研究可用于有监督和无监督以及罕见事件分类问题的另一种方法。 长短期记忆自动编码器。
资源推荐
资源详情
资源评论
收起资源包目录
lstm-autoencoder-for-anomaly-detection-main.zip (3个子文件)
lstm-autoencoder-for-anomaly-detection-main
.gitignore 2KB
README.md 1KB
lstm_autoencoder.ipynb 148KB
共 3 条
- 1
资源评论
- qq_479427252021-08-04用户下载后在一定时间内未进行评价,系统默认好评。
天驱蚊香
- 粉丝: 27
- 资源: 4554
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功