当前位置:网站首页>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


边栏推荐
- Ribbon's loadbalancerclient, zoneawareloadbalancer and zoneavoidancerule are three musketeers by default
- Arduino- use millis() to do two (or more) things at the same time
- Can the "self-help master" who has survived the economic crisis twice continue to laugh this time?
- The best time to buy and sell stocks Ⅲ (leetcode-123)
- Use of jstack "JVM common commands"
- Websocket 协议解读-RFC6455
- Learn more about the synchronized lock upgrade process [concurrent programming]
- Query about operating system security patch information
- Raspberry Pie: /bin/sh: 1: bison: not found
- Add a love power logo to your website
猜你喜欢

差分约束系统---1且2--2022年5月27日

How does ribbon get the default zoneawareloadbalancer?
![[STM32 learning] (22) STM32 realizes 360 degree rotary encoder](/img/8e/fb036296ec3aff5e60acee5018943c.png)
[STM32 learning] (22) STM32 realizes 360 degree rotary encoder
![Cyclicbarrier and countdownlatch [concurrent programming]](/img/38/3305a0cdb6de40e1370cc93c8e5014.png)
Cyclicbarrier and countdownlatch [concurrent programming]

Raspberry Pie:: no space left on device

Add a love power logo to your website
![[STM32 learning] (6) use of serial port 1 (usart1)](/img/b1/430d3501a99e46958c066f7fd7eee9.png)
[STM32 learning] (6) use of serial port 1 (usart1)

This article takes you to understand the dynamic memory allocation of C language

An article takes you to understand the operation of C language files in simple terms

Ribbon's loadbalancerclient, zoneawareloadbalancer and zoneavoidancerule are three musketeers by default
随机推荐
When the hot tea is out of stock, what does the new tea drink rely on to continue its life?
【二叉树先导】树的概念和表示方法
Do you really understand the concept of buffer? Take you to uncover the buffer zone~
How to solve the problem of robot positioning and navigation in large indoor scenes with low-cost solutions?
Segment tree--
TypeError: Object of type ‘int32‘ is not JSON serializable
This article takes you to understand the dynamic memory allocation of C language
2022, will lead the implementation of operation and maintenance priority strategy
[STM32 learning] (8) stm32f1 general timer configuration
OpenGL drawing simple triangles
Looting (leetcode-198)
Curse of knowledge
[STM32 learning] (4) press the key to control the flow light
zoj-Swordfish-2022-5-6
What is the cloud native mid platform business architecture?
Jenkins deploys the project and prompts that the module package defined by him cannot be found
Mysql8.0 authorized remote login
Arduino drive Lora module master node
Trie tree template 2
2022 trusted cloud authoritative assessment released: Tianyi cloud has obtained ten certifications and five best practices