当前位置:网站首页>频繁项集产生强关联规则的过程
频繁项集产生强关联规则的过程
2022-06-12 14:51:00 【苏木George】
频繁项集------->产生强关联规则的过程
1.由Apriori算法(当然别的也可以)产生频繁项集
2.根据选定的频繁项集,找到它所有的非空子集
3.强关联规则需要满足最小支持度和最小置性度 (假设关联规则是:A=>B , support(A=>B)= { P(AUB) } confidence(A=>B)=P(B|A)={ P(AUB)/P(A) } 。这里求概率都可以替换为求支持度计数(就是统计在源数据表中各个出现的次数,例如:P(AUB) 就找A和B在源数据表中同时发生了多少次)
4.找到所有可能性的关联规则。例如:频繁项集为:{1,2,3} -------->非空子集则为:{1,2},{1,3},{2,3},{1},{2},{3}---------->可能的关联规则为:{1,2}=>3 , {1,3}=>2 , {1,3}=>2 , 1=>{2,3},2=>{1,3},3=>{1,2}
5.最后计算所有可能的关联规则的置信度,找到符合最小置信度(会给出)的规则,它们则为强关联规则。
边栏推荐
- Pointer related concepts
- [wechat applet] 5 Applet structure directory
- sql跨库注入
- Structure example
- Data collection
- webdriver入门
- Module yaml error: Unexpected key in data: static_context [line 9 col 3]
- Producers (send syncask requests) and consumers (with xxxask monitoring and Implementation)
- selenium之元素定位
- 程序构造和解释之过程抽象
猜你喜欢

Appnium (I) basic use of appnium

Writing method of JUnit multithreading

JS (II) syntaxerror: cannot use import statement outside a module
![[wp][beginner level] attack and defense world game](/img/07/1ea54d14ba3caca25a68786d5be4a6.png)
[wp][beginner level] attack and defense world game

C escape character

SQL cross database injection

Unit test (I) unit test with JUnit

三维重建系统 | L3增量运动恢复结构(增量SFM)

C data type

数据的收集
随机推荐
Solution to the new database prompt on the pagoda panel that the database name cannot be greater than 16 bits
C escape character
webdriver入门
Prompt that the program cannot access key files / directories when installing PS software. Error code: 41
Function recursion example
野指针理解
Easygui query the company name in the document
安装PS软件时提示程序无法访问关键文件/目录,错误代码:41的解决方法
NETCORE combined with cap event bus to realize distributed transaction -- Introduction (1)
sql跨库注入
[writeup]buu SQL course1[entry level]
C 操作符
Junit测试中常用的断言
【Calendar】1. For globalization 2 But only date can be formatted by SDF 3 Month to -1 4 Week from Sunday is the first day
Mysql之索引和视图
selenium进阶
Producers (send syncask requests) and consumers (with xxxask monitoring and Implementation)
The igatewayloadbalancer interface implements routing. Otherwise, it follows Sid routing
你敢信?開發一個管理系統我只用了兩天
产业端:618的新战场