贝叶斯网络和模糊逻辑
谁能给我一个在入侵检测中使用贝叶斯网络和模糊逻辑的例子?
我正在努力弄清楚如何使用它。还有上面有代码吗?
谢谢你们。
Can anyone give me an example of a Bayesian network and fuzzy logic being used in intrusion detection?
I'm struggling to figure out how it can be used. And any code on it?
Thanks guys.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
确切的细节取决于您谈论的是防盗警报类型的情况(传感器读数)还是涉及保安人员和激光鲨鱼的更奇特的情况。无论哪种方式,原理都是一样的。
您从描述影响入侵的基本事物的根节点开始,例如,
您为每个根节点的每个状态分配一个概率。
然后,您定义依赖于这些根节点的子节点,例如,
保安听到噪音
将依赖于保安正在睡觉
。给定其父节点的每个状态,为子节点的每个状态分配条件概率。
最终,您会希望得到像
盗窃已被挫败
这样的结果。设置网络节点后,您可以对其进行评估,并计算不同结果发生的概率。
接下来你添加证据。因此,如果您知道鲨鱼闻到了血的味道,该节点就会设置为特定值,您可以重新评估网络以查看概率如何变化。
在软件方面,Bayes Net 工具箱备受好评。
The exact details will depend upon whether you're talking about a burglar alarm type situation (sensor readings) or something fancier involving security guards and sharks with lasers. Either way, the principle is the same.
You start with root nodes describing the basic things that affect intrusion, e.g.,
You assign a probability to each state of each root node.
Then you define child nodes that depend upon those root nodes, e.g.,
Security guard heard noise
would depend uponSecurity guard is asleep
.You assign conditional probabilities for each state of the child nodes, given each state of its parents.
Eventually, you'll want to get to an outcome like
Burglary has been foiled
.Once you have your network node set up, you can evaluate it, and calculate the probability of different outcomes happening.
Next you add evidence. So if you know your shark smelt blood, that node gets set to a particular value and you can reevaluate the network to see how probabilities have changed.
In terms of software, the Bayes Net toolbox is well regarded.