数据挖掘课件:chap2-data.ppt
- 【下载声明】
1. 本站全部试题类文档,若标题没写含答案,则无答案;标题注明含答案的文档,主观题也可能无答案。请谨慎下单,一旦售出,不予退换。
2. 本站全部PPT文档均不含视频和音频,PPT中出现的音频或视频标识(或文字)仅表示流程,实际无音频或视频文件。请谨慎下单,一旦售出,不予退换。
3. 本页资料《数据挖掘课件:chap2-data.ppt》由用户(罗嗣辉)主动上传,其收益全归该用户。163文库仅提供信息存储空间,仅对该用户上传内容的表现方式做保护处理,对上传内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知163文库(点击联系客服),我们立即给予删除!
4. 请根据预览情况,自愿下载本文。本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
5. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007及以上版本和PDF阅读器,压缩文件请下载最新的WinRAR软件解压。
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 数据 挖掘 课件 chap2_data
- 资源描述:
-
1、 Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 1 Data Mining: DataLecture Notes for Chapter 2Introduction to Data MiningbyTan, Steinbach, Kumar Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 2 What is Data?lCollection of data objects and their attributeslAn attribute is a pr
2、operty or characteristic of an objectExamples: eye color of a person, temperature, etc.Attribute is also known as variable, field, characteristic, or featurelA collection of attributes describe an objectObject is also known as record, point, case, sample, entity, or instanceTid Refund Marital Status
3、 Taxable Income Cheat 1 Yes Single 125K No 2 No Married 100K No 3 No Single 70K No 4 Yes Married 120K No 5 No Divorced 95K Yes 6 No Married 60K No 7 Yes Divorced 220K No 8 No Single 85K Yes 9 No Married 75K No 10 No Single 90K Yes 10 AttributesObjects Tan,Steinbach, Kumar Introduction to Data Mining
4、 4/18/2004 3 Attribute ValueslAttribute values are numbers or symbols assigned to an attributelDistinction between attributes and attribute values Same attribute can be mapped to different attribute valuesu Example: height can be measured in feet or meters Different attributes can be mapped to the s
5、ame set of valuesu Example: Attribute values for ID and age are integersu But properties of attribute values can be different ID has no limit but age has a maximum and minimum value Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 4 Measurement of Length lThe way you measure an attribute i
6、s somewhat may not match the attributes properties.123557815104ABCDE Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 5 Types of Attributes l There are different types of attributes NominaluExamples: ID numbers, eye color, zip codes OrdinaluExamples: rankings (e.g., taste of potato chips o
7、n a scale from 1-10), grades, height in tall, medium, short IntervaluExamples: calendar dates, temperatures in Celsius or Fahrenheit. RatiouExamples: temperature in Kelvin, length, time, counts Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 6 Properties of Attribute Values lThe type of a
8、n attribute depends on which of the following properties it possesses: Distinctness: = Order: Addition: + - Multiplication: * / Nominal attribute: distinctness Ordinal attribute: distinctness & order Interval attribute: distinctness, order & addition Ratio attribute: all 4 propertiesAttribute TypeDe
9、scriptionExamplesOperationsNominalThe values of a nominal attribute are just different names, i.e., nominal attributes provide only enough information to distinguish one object from another. (=, )zip codes, employee ID numbers, eye color, sex: male, femalemode, entropy, contingency correlation, 2 te
10、stOrdinalThe values of an ordinal attribute provide enough information to order objects. ()hardness of minerals, good, better, best, grades, street numbersmedian, percentiles, rank correlation, run tests, sign testsIntervalFor interval attributes, the differences between values are meaningful, i.e.,
11、 a unit of measurement exists. (+, - )calendar dates, temperature in Celsius or Fahrenheitmean, standard deviation, Pearsons correlation, t and F testsRatioFor ratio variables, both differences and ratios are meaningful. (*, /)temperature in Kelvin, monetary quantities, counts, age, mass, length, el
12、ectrical currentgeometric mean, harmonic mean, percent variationAttribute LevelTransformationCommentsNominalAny permutation of valuesIf all employee ID numbers were reassigned, would it make any difference?OrdinalAn order preserving change of values, i.e., new_value = f(old_value) where f is a monot
13、onic function.An attribute encompassing the notion of good, better best can be represented equally well by the values 1, 2, 3 or by 0.5, 1, 10.Intervalnew_value =a * old_value + b where a and b are constantsThus, the Fahrenheit and Celsius temperature scales differ in terms of where their zero value
14、 is and the size of a unit (degree).Rationew_value = a * old_valueLength can be measured in meters or feet. Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 9 Discrete and Continuous Attributes lDiscrete Attribute Has only a finite or countably infinite set of values Examples: zip codes, c
15、ounts, or the set of words in a collection of documents Often represented as integer variables. Note: binary attributes are a special case of discrete attributes lContinuous Attribute Has real numbers as attribute values Examples: temperature, height, or weight. Practically, real values can only be
16、measured and represented using a finite number of digits. Continuous attributes are typically represented as floating-point variables. Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 10 Types of data sets lRecordData MatrixDocument DataTransaction DatalGraphWorld Wide WebMolecular Structu
17、reslOrderedSpatial DataTemporal DataSequential DataGenetic Sequence Data Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 11 Important Characteristics of Structured Data Dimensionalityu Curse of Dimensionality Sparsityu Only presence counts Resolutionu Patterns depend on the scale Tan,Stei
18、nbach, Kumar Introduction to Data Mining 4/18/2004 12 Record Data lData that consists of a collection of records, each of which consists of a fixed set of attributes Tid Refund Marital Status Taxable Income Cheat 1 Yes Single 125K No 2 No Married 100K No 3 No Single 70K No 4 Yes Married 120K No 5 No
19、 Divorced 95K Yes 6 No Married 60K No 7 Yes Divorced 220K No 8 No Single 85K Yes 9 No Married 75K No 10 No Single 90K Yes 10 Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 13 Data Matrix lIf data objects have the same fixed set of numeric attributes, then the data objects can be thought
20、of as points in a multi-dimensional space, where each dimension represents a distinct attribute lSuch data set can be represented by an m by n matrix, where there are m rows, one for each object, and n columns, one for each attribute1.12.216.226.2512.651.22.715.225.2710.23Thickness LoadDistanceProje
21、ction of y loadProjection of x Load1.12.216.226.2512.651.22.715.225.2710.23Thickness LoadDistanceProjection of y loadProjection of x Load Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 14 Document DatalEach document becomes a term vector, each term is a component (attribute) of the vecto
22、r, the value of each component is the number of times the corresponding term occurs in the document. Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 15 Transaction DatalA special type of record data, where each record (transaction) involves a set of items. For example, consider a grocery
23、store. The set of products purchased by a customer during one shopping trip constitute a transaction, while the individual products that were purchased are the items. TID Items 1 Bread, Coke, Milk 2 Beer, Bread 3 Beer, Coke, Diaper, Milk 4 Beer, Bread, Diaper, Milk 5 Coke, Diaper, Milk Tan,Steinbach
24、, Kumar Introduction to Data Mining 4/18/2004 16 Graph Data lExamples: Generic graph and HTML Links 521 25Data Mining Graph Partitioning Parallel Solution of Sparse Linear System of Equations N-Body Computation and Dense Linear System Solvers Tan,Steinbach, Kumar Introduction to Data Mining 4/18/200
25、4 17 Chemical Data lBenzene Molecule: C6H6 Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 18 Ordered Data lSequences of transactionsAn element of the sequenceItems/Events Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 19 Ordered Data l Genomic sequence dataGGTTCCGCCTTCAGCCCCG
展开阅读全文