Anomaly Detection

这里写图片描述
build a model for the probability of xp(x)
a small threshold ϵ
这里写图片描述


Gaussian(Normal) Distribution

x~N( μ,σ2 )
p(x; μ,σ2 )

这里写图片描述
这里写图片描述


Parameter estimation

if x(i) ~ N(μ,σ2)
then μ=1mmi=1x(i)
σ2=1mmi=1(x(i)μ)2

这里写图片描述


Density Estimation

这里写图片描述

p(x)=nj=1p(xj;μj,σ2j)


Anomaly Detection Algorithm

这里写图片描述
这里写图片描述


这里写图片描述


Evaluation

这里写图片描述

It doesn’t matter if there are actually some anomalous ones in training set.

这里写图片描述

The alternative one is not recommended.

这里写图片描述

We can choose ϵ ,features and so on by examming F1 score.


这里写图片描述
这里写图片描述


Non-gaussian features
这里写图片描述

Try to do some transformation to our x until it looks more like Gaussian.


  • Choose Feature
    这里写图片描述

  • Create Features
    这里写图片描述


Multivariate Gaussian Distribution

Problem:
这里写图片描述

To solve it:
这里写图片描述
这里写图片描述

Then we got:
这里写图片描述
这里写图片描述

So here’s algorithm for Anomaly detection with multivariate Gaussian
这里写图片描述


The difference between the two models

这里写图片描述

This new model, using a multivariate Gaussian distribution, corresponds exactly to the old model, if the covariance matrix sigma, has only 0 elements off the diagonals, and in pictures that corresponds to having Gaussian distributions, where the contours of this distribution function are axis aligned. So you aren’t allowed to model the correlations between the diffrent features.

So in that sense the original model is actually a special case of this multivariate Gaussian model.

这里写图片描述

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
异常检测综述是关于在不同的研究领域和应用领域中进行研究的一个重要问题。许多异常检测技术已经具体解决了这个问题的表述。不同的因素,如数据的性质、标记数据的可用性和要检测的异常类型等,会导致异常检测问题的挑战。通常,这些因素是由应用领域决定的,需要检测哪些异常。研究人员采用了统计学、机器学习、数据挖掘、信息论、光谱理论等不同学科的概念,并将其应用于具体的问题公式。通过图2可以看到与任何异常检测技术相关的关键组件。 与关于点异常检测技术的丰富文献相比,对上下文异常检测的研究相对有限。一般来说,这类技术可以分为两类。第一类技术将上下文异常检测问题简化为点异常检测问题,而第二类技术则对数据中的结构进行建模,并使用该模型来检测异常。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* [Anomaly Detection_A Survey](https://download.csdn.net/download/juicymeng/10387314)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] - *2* *3* [异常检测综述(Anomaly Detection: A Survey)](https://blog.csdn.net/weixin_43883602/article/details/124472597)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值