当前位置:网站首页>單調性約束與反單調性約束的區別 monotonicity and anti-monotonicity constraint
單調性約束與反單調性約束的區別 monotonicity and anti-monotonicity constraint
2022-07-07 10:39:00 【Xminyang】
▚ 01 Monotone Constraints 單調性約束
1.1 Definitions 定義
【Monotone Constraints | SpringerLink 】
A constraint C is monotone if and only if for all itemsets S and S′:
if S ⊇ S′ and S violates C, then S′ violates C.
1.2 Key Points 要點
Monotone constraints possess the following property. If an itemset S violates a monotone constraint C, then any of its subsets also violates C. Equivalently, all supersets of an itemset satisfying a monotone constraint C also satisfy C (i.e., C is upward closed). By exploiting this property, monotone constraints can be used for reducing computation in frequent itemset mining with constraints. As frequent itemset mining with constraints aims to find frequent itemsets that satisfy the constraints, if an itemset S satisfies a monotone constraint C, no further constraint checking needs to be applied to any superset of S because all supersets of S are guaranteed to satisfy C. Examples of monotone constraints include min(S. Price) ≤ $30, which expresses that the minimum price of all items in an itemset S is at most $30. Note that, if the minimum price of all items in S is at most $30, adding more items to S would not increase its minimum price (i.e., supersets of S would also satisfy such a monotone constraint).
▚ 02 Anti-monotone Constraints 反單調性約束
2.1 Definitions 定義
【Anti-monotone Constraints | SpringerLink】
A constraint C is anti-monotone if and only if for all itemsets S and S′:
if S ⊇ S′and S satisfies C, then S′ satisfies C.
2.2 Key Points 要點
Anti-monotone constraints possess the following nice property. If an itemset S satisfies an anti-monotone constraint C, then all of its subsets also satisfy C (i.e., C is downward closed). Equivalently, any superset of an itemset violating an anti-monotone constraint C also violates C. By exploiting this property, anti-monotone constraints can be used for pruning in frequent itemset mining with constraints. As frequent itemset mining with constraints aims to find itemsets that are frequent and satisfy the constraints, if an itemset violates an anti-monotone constraint C, all its supersets (which would also violate C) can be pruned away and their frequencies do not need to be counted. Examples of anti-monotone constraints include min(S. Price) ≥ $20 (which expresses that the minimum price of all items in an itemset S is at least $20) and the usual frequency constraint support(S) ≥ minsup (i.e., frequency(S) ≥ minsup). For the former, if the minimum price of all items in S is less than $20, adding more items to S would not increase its minimum price (i.e., supersets of S would not satisfy such an anti-monotone constraint). For the latter, it is widely used in frequent itemset mining, with or without constraints. It states that (i) all subsets of a frequent itemset are frequent and (ii) any superset of an infrequent itemset is also infrequent. This is also known as the Apriori property.
▚ 03 Explanation 解釋
假設:我們將S violates C作為事件A,S′ violates C作為事件B;則 S satisfies C為事件not A,then S′ satisfies C為事件not B.
此時,根據Monotone Constraints定義知(A → B),也即(not B → not A);
根據Anti-monotonicity Constraints定義知(not A → not B),也即(B → A);
因為(A → B)並不一定意味著(B → A),所以這兩者 (Monotone Constraints & Anti-monotonicity Constraints) 的聲明是不同的。
▚ 04 Example 示例
For an example. Consider-
C1 = Sum of elements is greater than 5
C2 = Sum of elements is at most 5
U(universe) = Set of non-negative real numbers
In case of C1,
If S violates C1, then S’ obviously violates C1 as well (S being a superset of S’)
Eg. S = {1, 2}, S’ = {2}
Hence C1 is monotonic.
In case of C2,
If S satisfies C2, then S’ obviously satisfies C2 as well (S being a superset of S’)
Eg. S = {1, 2}, S’ = {2}
Hence C2 is anti-monotonic.
▚ 05 數據挖掘的約束限制
Constraint-Based Mining — A General Picture
參考文章
边栏推荐
- table宽度比tbody宽度大4px
- leetcode-304:二维区域和检索 - 矩阵不可变
- P1031 [NOIP2002 提高组] 均分纸牌
- leetcode-303:区域和检索 - 数组不可变
- Those confusing concepts (3): function and class
- CAS mechanism
- Trajectory planning for multi-robot systems: Methods and applications 综述阅读笔记
- 如何顺利通过下半年的高级系统架构设计师?
- 【作业】2022.7.6 写一个自己的cal函数
- How much review time does it usually take to take the intermediate soft exam?
猜你喜欢
Is the soft test intermediate useful??
Using U2 net deep network to realize -- certificate photo generation program
Basic introduction of yarn and job submission process
IIC基本知识
OpenGL glLightfv 函数的应用以及光源的相关知识
[recommendation system 01] rechub
Find the greatest common divisor and the least common multiple (C language)
求最大公约数与最小公倍数(C语言)
Multithreaded asynchronous orchestration
How much review time does it usually take to take the intermediate soft exam?
随机推荐
555电路详解
原型与原型链
Gym installation pit records
[牛客网刷题 Day6] JZ27 二叉树的镜像
Summary of router development knowledge
【推薦系統 01】Rechub
Openinstall and Hupu have reached a cooperation to mine the data value of sports culture industry
How embedded engineers improve work efficiency
Kotlin realizes wechat interface switching (fragment exercise)
中级网络工程师是什么?主要是考什么,有什么用?
Slurm资源管理与作业调度系统安装配置
Yarn的基础介绍以及job的提交流程
I'd rather say simple problems a hundred times than do complex problems once
Basic introduction of yarn and job submission process
宁愿把简单的问题说一百遍,也不把复杂的问题做一遍
php \n 换行无法输出
基于HPC场景的集群任务调度系统LSF/SGE/Slurm/PBS
OpenGL glLightfv 函数的应用以及光源的相关知识
Experience sharing of software designers preparing for exams
关于easyflash v3.3使用过程的记录