当前位置:网站首页>Association Rules -- July 10, 2022
Association Rules -- July 10, 2022
2022-07-24 10:13:00 【A hard-working Mengxin, come on】
Association rules
https://zhuanlan.zhihu.com/p/118439868
Apriori Algorithm — Classical algorithms
Look what the person who bought this product bought with others .
Relevant concepts
Transaction set : Put all the goods together .
Record : A single number means a record
project ( term ): A, B,C A single item
Project set ( Itemsets ): A collection of items
K Itemsets : The number of elements in the itemset is K,

The following is the content of probability theory :
Def 6 Support (support )
Sup(x) = ( The number of times an itemset occurs in a transaction )/ The total number of records in the transaction set
It can be understood as probability ( frequency ).
Def 7 Degree of confidence ( Conditional probability )
stay x On the basis of ,Y Probability of occurrence .
Definition :
Promotion : A Is the emergence of right B The emergence of has improved .
lift (A->B) If it is greater than 1, shows B stay A Send based on B It's more likely to happen alone .
be A Appear right B Occurrence has a positive effect .
Two theorems
Theorem 1: If X It's a frequent K Itemsets , Then all its subsets must be frequent
Theorem 2: If X No k-1 Item frequency , Then it must not be frequent K Itemsets 
Algorithm flow

Here is an example :
from K-1 To K term , Combinations cannot be randomly grouped , Want to have K-2 The items are the same
Pre pruning added 
There are related relationships below 

Analyze algorithm performance


边栏推荐
- 分布式锁-Redission 原理分析
- String sort
- [STM32 learning] (14) two 74HC595 controls four nixie tube displays
- What is the cloud native mid platform business architecture?
- 第五章 修改实现(IMPL)类
- Ribbon's loadbalancerclient, zoneawareloadbalancer and zoneavoidancerule are three musketeers by default
- Arduino serial port information reading and output
- Notes on using setupproxy
- Anti shake and throttling
- Raspberry Pie:: no space left on device
猜你喜欢

Add SSH key to bitbucket

When the hot tea is out of stock, what does the new tea drink rely on to continue its life?

关联规则--2022年7月10日
![[STM32 learning] (6) use of serial port 1 (usart1)](/img/b1/430d3501a99e46958c066f7fd7eee9.png)
[STM32 learning] (6) use of serial port 1 (usart1)

Spark Learning: build SQL to meet the specified optimization rules

缓冲区的概念真的理解么?带你揭开缓冲区的面纱~

Analysis of Kube proxy IPVS mode

Implementation principle of acid in MySQL

Web page opening speed is very slow, how to solve it?
![[robot learning] mechanism kinematics analysis and MATLAB simulation (3D model +word report +matlab program)](/img/dd/d29a5be7306580ad388ba6487d230f.png)
[robot learning] mechanism kinematics analysis and MATLAB simulation (3D model +word report +matlab program)
随机推荐
Tencent 5g innovation center was established, laying out key directions such as unmanned ports, smart mines and E-sports events
[STM32 learning] (16) STM32 realizes LCD1602 display (74HC595 drive) - 4-bit bus
SMTP automatic mail sending function code
MySQL 数据库 JDBC编程
Raspberry Pie: /bin/sh: 1: bison: not found
zoj-Swordfish-2022-5-6
分布式锁-Redission 原理分析
Mysql database JDBC programming
AttributeError: module ‘sipbuild. api‘ has no attribute ‘prepare_ metadata_ for_ build_ wheel‘
NIO知识点
Kotlin domain specific language (DSL)
[STM32 learning] (13) STM32 realizes ultrasonic ranging (hc-sr04)
Uniapp uses PWA
Tree array-
Server load and CPU performance tuning
Query about operating system security patch information
Arduino- use millis() to do two (or more) things at the same time
MySQL query database capacity size
Balance between management / business and technology
Arduino drive Lora module node