Intro-Ass. Rules.ppt
《Intro-Ass. Rules.ppt》由会员分享,可在线阅读,更多相关《Intro-Ass. Rules.ppt(54页珍藏版)》请在麦多课文档分享上搜索。
1、14.11.2001,Data mining: Clustering,1,Intro/Ass. Rules,Episodes,Text Mining,Home Exam,24./26.10.,30.10.,Clustering,KDD Process,Appl./Summary,14.11.,21.11.,7.11.,28.11.,Course on Data Mining (581550-4),14.11.2001,Data mining: Clustering,2,Today 14.11.2001,Todays subject: Classification, clustering Nex
2、t weeks program: Lecture: Data mining process Exercise: Classification, clustering Seminar: Classification, clustering,Course on Data Mining (581550-4),14.11.2001,Data mining: Clustering,3,Classification and prediction Clustering and similarity,Classification and clustering,14.11.2001,Data mining: C
3、lustering,4,What is cluster analysis? Similarity and dissimilarity Types of data in cluster analysis Major clustering methods Partitioning methods Hierarchical methods Outlier analysis Summary,Cluster analysis,Overview,14.11.2001,Data mining: Clustering,5,Cluster: a collection of data objects simila
4、r to one another within the same cluster dissimilar to the objects in the other clusters Aim of clustering: to group a set of data objects into clusters,What is cluster analysis?,14.11.2001,Data mining: Clustering,6,Typical uses of clustering,As a stand-alone tool to get insight into data distributi
5、on As a preprocessing step for other algorithms,Used as?,14.11.2001,Data mining: Clustering,7,Applications of clustering,Marketing: discovering of distinct customer groups in a purchase database Land use: identifying of areas of similar land use in an earth observation database Insurance: identifyin
6、g groups of motor insurance policy holders with a high average claim cost City-planning: identifying groups of houses according to their house type, value, and geographical location,14.11.2001,Data mining: Clustering,8,What is good clustering?,A good clustering method will produce high quality clust
7、ers with high intra-class similarity low inter-class similarity The quality of a clustering result depends on the similarity measure used implementation of the similarity measure The quality of a clustering method is also measured by its ability to discover some or all of the hidden patterns,14.11.2
8、001,Data mining: Clustering,9,Requirements of clustering in data mining (1),Scalability Ability to deal with different types of attributes Discovery of clusters with arbitrary shape Minimal requirements for domain knowledge to determine input parameters,14.11.2001,Data mining: Clustering,10,Requirem
9、ents of clustering in data mining (2),Ability to deal with noise and outliers Insensitivity to order of input records High dimensionality Incorporation of user-specified constraints Interpretability and usability,14.11.2001,Data mining: Clustering,11,Similarity and dissimilarity between objects (1),
10、There is no single definition of similarity or dissimilarity between data objects The definition of similarity or dissimilarity between objects depends on the type of the data considered what kind of similarity we are looking for,14.11.2001,Data mining: Clustering,12,Similarity and dissimilarity bet
11、ween objects (2),Similarity/dissimilarity between objects is often expressed in terms of a distance measure d(x,y) Ideally, every distance measure should be a metric, i.e., it should satisfy the following conditions:,14.11.2001,Data mining: Clustering,13,Type of data in cluster analysis,Interval-sca
12、led variables Binary variables Nominal, ordinal, and ratio variables Variables of mixed types Complex data types,14.11.2001,Data mining: Clustering,14,Interval-scaled variables (1),Continuous measurements of a roughly linear scale For example, weight, height and age The measurement unit can affect t
13、he cluster analysis To avoid dependence on the measurement unit, we should standardize the data,14.11.2001,Data mining: Clustering,15,Interval-scaled variables (2),To standardize the measurements: calculate the mean absolute deviationwhere and calculate the standardized measurement (z-score),14.11.2
14、001,Data mining: Clustering,16,Interval-scaled variables (3),One group of popular distance measures for interval-scaled variables are Minkowski distanceswhere i = (xi1, xi2, , xip) and j = (xj1, xj2, , xjp) are two p-dimensional data objects, and q is a positive integer,14.11.2001,Data mining: Clust
15、ering,17,Interval-scaled variables (4),If q = 1, the distance measure is Manhattan (or city block) distanceIf q = 2, the distance measure is Euclidean distance,14.11.2001,Data mining: Clustering,18,Binary variables (1),A binary variable has only two states: 0 or 1 A contingency table for binary data
16、,Object i,Object j,14.11.2001,Data mining: Clustering,19,Binary variables (2),Simple matching coefficient (invariant similarity, if the binary variable is symmetric):Jaccard coefficient (noninvariant similarity, if the binary variable is asymmetric):,14.11.2001,Data mining: Clustering,20,Binary vari
17、ables (3),Example: dissimilarity between binary variables: a patient record tableeight attributes, of which gender is a symmetric attribute, and the remaining attributes are asymmetric binary,14.11.2001,Data mining: Clustering,21,Binary variables (4),Let the values Y and P be set to 1, and the value
18、 N be set to 0 Compute distances between patients based on the asymmetric variables by using Jaccard coefficient,14.11.2001,Data mining: Clustering,22,Nominal variables,A generalization of the binary variable in that it can take more than 2 states, e.g., red, yellow, blue, green Method 1: simple mat
19、ching m: # of matches, p: total # of variablesMethod 2: use a large number of binary variables create a new binary variable for each of the M nominal states,14.11.2001,Data mining: Clustering,23,Ordinal variables,An ordinal variable can be discrete or continuous Order of values is important, e.g., r
20、ank Can be treated like interval-scaled replacing xif by their rank map the range of each variable onto 0, 1 by replacing i-th object in the f-th variable bycompute the dissimilarity using methods for interval-scaled variables,14.11.2001,Data mining: Clustering,24,Ratio-scaled variables,A positive m
21、easurement on a nonlinear scale, approximately at exponential scale for example, AeBt or Ae-Bt Methods: treat them like interval-scaled variables not a good choice! (why?) apply logarithmic transformation yif = log(xif) treat them as continuous ordinal data and treat their rank as interval-scaled,14
22、.11.2001,Data mining: Clustering,25,Variables of mixed types (1),A database may contain all the six types of variables One may use a weighted formula to combine their effects:where,14.11.2001,Data mining: Clustering,26,Variables of mixed types (2),Contribution of variable f to distance d(i,j): if f
23、is binary or nominal: if f is interval-based: use the normalized distanceif f is ordinal or ratio-scaled compute ranks rif and and treat zif as interval-scaled,14.11.2001,Data mining: Clustering,27,Complex data types,All objects considered in data mining are not relational = complex types of data ex
24、amples of such data are spatial data, multimedia data, genetic data, time-series data, text data and data collected from World-Wide Web Often totally different similarity or dissimilarity measures than above can, for example, mean using of string and/or sequence matching, or methods of information r
25、etrieval,14.11.2001,Data mining: Clustering,28,Major clustering methods,Partitioning methods Hierarchical methods Density-based methods Grid-based methods Model-based methods (conceptual clustering, neural networks),14.11.2001,Data mining: Clustering,29,Partitioning methods,A partitioning method: co
26、nstruct a partition of a database D of n objects into a set of k clusters such that each cluster contains at least one object each object belongs to exactly one cluster Given a k, find a partition of k clusters that optimizes the chosen partitioning criterion,14.11.2001,Data mining: Clustering,30,Cr
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
2000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- INTROASSRULESPPT
