《数据挖掘概念与技术》学习笔记第4章(4/10)数据挖掘原语、语言和系统结构
2010-07-21 01:26
399 查看
语法归纳
1说明任务相关的数据
<Data_Mining_Statement>::=
use database <database_name>| use data warehouse <data_warehouse_name>
use hierarchy< hierarchy_name> for<attribute_or_dimension>}
<Mine_Knowledge_sepcification>
in relevance to < attribute_or_dimension _list>
from
<relations(s)/cubes(s)>
[where <condition>]
[order by <order_list>]
[group by <group _list>]
[having <condition>]
{with [<interest_measure_name>]} threshold=< threshold _value>
[for <attribugte(s)>]}
例
use database AllGames_db
in relevance to I.name, I.price, C.income, C.age
from
Customer C, item I, purchases P, items_sold S
where I.item_ID=S.item_ID and
S.trans_ID=P. .trans_ID and .cust_ID=C.
cust_ID and C.country=”Cananda”
group by P.date
2特征化
<Mine_Knowledge_Specification>::=
mine characeristics [as <pattern_name>>]
analyze<neasure(s)>
例
mine characterestics as customerPurchasing
analyze count%
3区分
<Mine_Knowledge_Specification>::=
mine comparisom [as <pattern_name>]
for<,target_class> where <target_conditon>
{versus<contrast_class_i> where <contrast_condition_i>}
analyze<neasure(s)>
例
mine comparison as purchaseGroups
for
bigSpenders where avg(I.price)>=
$100
versus budgetSpenders where avg(I.price)<$100
analyze count
4关联
<Mine_Knowledge_Specification>::=
mine association [as <pattern_name>]
[matching <metapattern>]
例
mine associations as buyingHabits
matching P(X: customers, W)^Q(X,Y)=>buys(X,Z)
5分类
<Mine_Knowledge_Specification>::=
mine classification [as <pattern_name>]
analyze <classifying_attribute_or_dimension>
例
mine classification as classifyCustomerCreditRating
analyze credit_rating
1说明任务相关的数据
<Data_Mining_Statement>::=
use database <database_name>| use data warehouse <data_warehouse_name>
use hierarchy< hierarchy_name> for<attribute_or_dimension>}
<Mine_Knowledge_sepcification>
in relevance to < attribute_or_dimension _list>
from
<relations(s)/cubes(s)>
[where <condition>]
[order by <order_list>]
[group by <group _list>]
[having <condition>]
{with [<interest_measure_name>]} threshold=< threshold _value>
[for <attribugte(s)>]}
例
use database AllGames_db
in relevance to I.name, I.price, C.income, C.age
from
Customer C, item I, purchases P, items_sold S
where I.item_ID=S.item_ID and
S.trans_ID=P. .trans_ID and .cust_ID=C.
cust_ID and C.country=”Cananda”
group by P.date
2特征化
<Mine_Knowledge_Specification>::=
mine characeristics [as <pattern_name>>]
analyze<neasure(s)>
例
mine characterestics as customerPurchasing
analyze count%
3区分
<Mine_Knowledge_Specification>::=
mine comparisom [as <pattern_name>]
for<,target_class> where <target_conditon>
{versus<contrast_class_i> where <contrast_condition_i>}
analyze<neasure(s)>
例
mine comparison as purchaseGroups
for
bigSpenders where avg(I.price)>=
$100
versus budgetSpenders where avg(I.price)<$100
analyze count
4关联
<Mine_Knowledge_Specification>::=
mine association [as <pattern_name>]
[matching <metapattern>]
例
mine associations as buyingHabits
matching P(X: customers, W)^Q(X,Y)=>buys(X,Z)
5分类
<Mine_Knowledge_Specification>::=
mine classification [as <pattern_name>]
analyze <classifying_attribute_or_dimension>
例
mine classification as classifyCustomerCreditRating
analyze credit_rating
相关文章推荐
- 《数据挖掘概念与技术》学习笔记第2章(2/10)数据仓库和数据挖掘的OLAP技术
- 数据挖掘概念与技术10--数据仓库的系统结构
- 《数据挖掘概念与技术》学习笔记第9-10章_复杂数据类型的挖掘+数据挖掘的应用和发展趋势(9/10)+(10/10)
- 《数据挖掘概念与技术》学习笔记第6章(6/10)挖掘大型数据库中的关联规则
- 数据仓库与数据挖掘的OLAP技术----韩家炜教授的《数据挖掘概念与技术》学习笔记
- R语言入门视频笔记--10--数据挖掘
- 2013 数据结构课程设计(烟台公交系统)
- 看数据结构写代码(10)栈的应用(一) 数值转换
- python数据挖掘_Json结构分析
- 网易云课堂数据结构——二叉搜索树(2015.5.9-10)
- 关于数据挖掘推荐系统实现
- 数据结构课程设计——学生成绩管理系统
- 【Python】10、python内置数据结构之集合
- 数据结构课程设计之航空订票系统
- 数据结构课设之 景点管理系统
- 数据结构与算法实验题 11.3 最小权语言问题
- 数据结构课程设计-家谱系统的简易开发
- 从零开始系列-R语言基础学习笔记之二 数据结构(一)
- Python语言在数据挖掘上非常有优势,但它唯一的缺点你知道吗?
- 线性表5 – 数据结构和算法10