Defining Negative Correlated Patterns (I) • Definition 1 (support-based) • If itemsets X and Y are both frequent but rarely occur together, i.e., sup(X U Y) < sup (X) * sup(Y) • Then X and Y are negatively correlated • Problem: A store sold two needle 100 packages A and B, only one transaction containing both A and B. • When there are in total 200 transactions, we have s(A U B) = 0.005, s(A) * s(B) = 0.25, s(A U B) < s(A) * s(B) • When there are 105 transactions, we have s(A U B) = 1/105, s(A) * s(B) = 1/103 * 1/103, s(A U B) > s(A) * s(B) • Where is the problem? —Null transactions, i.e., the support-based definition is not null-invariant!翻译解释
时间: 2024-04-01 13:31:37 浏览: 16
定义负相关模式(I):
定义1(基于支持度):如果项集X和Y都很频繁,但很少同时出现,即sup(X U Y)< sup(X)* sup(Y),则X和Y是负相关的。
问题:商店销售两个针头100个包装A和B,只有一笔交易包含A和B。当总共有200笔交易时,我们有s(A U B)= 0.005,s(A)* s(B)= 0.25,s(A U B)<s(A)* s(B)。当有105个交易时,我们有s(A U B)= 1/105,s(A)* s(B)= 1/103 * 1/103,s(A U B)> s(A)* s(B)。问题出在哪里?——空事务,即基于支持度的定义不具备空值不变性!
相关问题
Defining Negative Correlated Patterns (II) • Definition 2 (Kulzynski measure-based) • If itemsets X and Y are frequent, but (P(X|Y) + P(Y|X))/2 <= є, where є is a negative pattern threshold, then X and Y are negatively correlated. • Ex. For the same needle package problem, when no matter there are 200 or 105 transactions, if є = 0.01, we have (P(A|B) + P(B|A))/2 = (0.01 + 0.01)/2 <= є翻译解释
这段话是在讲关联规则中的负相关模式的定义。其中,使用了 Kulzynski measure 作为负相关的度量标准。如果两个频繁项集 X 和 Y 满足 (P(X|Y) + P(Y|X))/2 <= є,其中 є 是一个负相关阈值,则 X 和 Y 是负相关的。举个例子,对于同一个针包问题,无论是有 200 还是 105 个交易,如果 є = 0.01,那么 (P(A|B) + P(B|A))/2 = (0.01 + 0.01)/2 <= є,说明 A 和 B 是负相关的。
Consider defining a bean named 'member-recharge-delay-channel-consumer' in your configuration.
This seems like a suggestion for defining a bean in a configuration. A bean is an object that is created, configured, and managed by a Spring IoC container.
To define a bean in a Spring configuration file, you can use the `<bean>` element. Here's an example of defining a bean with the name "member-recharge-delay-channel-consumer":
```
<bean id="member-recharge-delay-channel-consumer" class="com.example.MemberRechargeDelayChannelConsumer">
<property name="someProperty" value="someValue"/>
</bean>
```
In this example, the bean has an id of "member-recharge-delay-channel-consumer" and is an instance of the class "com.example.MemberRechargeDelayChannelConsumer". The `<property>` element is used to set any properties on the bean that need to be configured.
Of course, the actual class name and property values would need to be modified for your specific use case.
相关推荐
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)