版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、一個基於長度二序列矩陣之有效一個基於長度二序列矩陣之有效率的序列型樣挖掘演算法率的序列型樣挖掘演算法An Efficient Sequential Pattern Mining Algorithm Based on a 2-Sequence Matrix Presented by Chia-Ying HsiehAdvisor: Prof. Don-Lin YangE-Mail: .tw2Outline nIntroductionnBackground nRelated WorknMotivationnPurpose nESPEnExperiment nConclu
2、sions and Future Work3Introduction nData mining techniques have been developed many years.nRecently, sequential pattern mining becomes an important issue in finding sequential information from huge databases. It is interesting and has broad applications in business, bioinformatics, web mining, compu
3、ter intrusion detection and so on. nWe would like to develop an more efficient sequential pattern mining algorithm based on a 2-sequence matrix.4BackgroundnData miningnAssociation rulenThe association rule mining task is the job of finding which attributes “go-together” nFSE(2006)nSequential pattern
4、n Sequential patterns mining consider the sequences of events occurrences and an item can appear many times in a sequence. nAprioriAll(1994), GSP (1996), PrefixSpan (2001)5Related Work (1/5)nFSE (Fast Support Enumeration)nUse to mining association rules without the need of predetermining the minimum
5、 support in the candidate generationnOnly scan the transaction database oncenNeed more memory space6Related Work (2/5)nMain categories in sequential pattern mining algorithms nCandidate generate-and-test approachn AprioriAll, GSPn Divide-and-conquer approachnPrefixSpan 7Related Work (3/5)nGSPnCandid
6、ate generate-and-test approach nMultiple passes over the database nGenerate huge number of candidates when a sequence database is largenDifficult to handle long sequential transactions of databases. 8Related Work (4/5)nPrefixSpannDivide-and-conquer approach nProjected-database may be larger than the
7、 original database nMultiple scans of the projected-database 9Related Work (5/5)ApproachAlgorithmNo. of DB scansIncremental itemsCandidate Generate-and-TestGSPn*No Divide-and-conquer approach PrefixSpan1No Support EnumerationFSE1NoESPE(Efficient Sequential Pattern Enumerate)1Yes 10MotivationnScan da
8、tabasenMultiple database scannGenerate candidatenGenerate all possible candidate sequencesnPre-determine the minimal supportn Hard to determine suitable thresholdsnReduce memory spacenIncremental mining11PurposenNo multiple database scannESPE only scans the database once nNo need to generate all can
9、didates n ESPE can effective execute and reduce the waste of memory spacenCan deal with long sequences nNo need to predetermine the minimal support nESPE finds all interesting patterns nFind rules based on users demand effectively nUsers can choose information they really wantnIncremental process of
10、 new items and transactions12Problem Statement nSequence nAn ordered list of itemsets nl-sequence nThe length of sequence l is the number of items. For example, ABC is a 3-sequence nMinimum supportnPartition nWe partition a sequence into two sections X and Y nX is the candidate 2-sequence (PX)nY is
11、the remaining sequence of PX (PY ).x.x x: x.x.x x Y and xX is,That sequence remaining is Y sequence-2 candidate is X: denote we,.xxxx sequence aFor :1 43214321n321nnxxasYXDefinition13ESPE algorithm (1/4)14Enumerate 2-sequence (1/3)nPurposenAvoid generating too many candidates to run out of memory n
12、Can deal with long sequences nThis method is like FSEs enumeration method nOnly generate 2-sequences and use Definition 1 to record sequences.x.x x: x.x.x x Y and xX is,That sequence remaining is Y sequence-2 candidate is X: denote we,.xxxx sequence aFor :1 43214321n321nnxxasYXDefinition15Enumerate
13、2-sequence (2/3)31213 =31:213312 311 313 3121 3123 3113 3121331213 =32:13321 323321331213 =31:331213 =3331213 =12:13121 123121331213 =11:311331213 =1331213 =21:321331213 =23nOur method only enumerates 8 sequencesn Traditional method enumerates 23 sequences16Enumerate 2-sequence (3/3)17Storage effect
14、iveness (1/3)nPurposenTo store and retrieve the results efficiently nUse Definition2 to compute the indexnThe 2-sequentces are 124443 2) 1(:3) 1(:2:1 thensequence,-2 a is xy If2yxindexyxcaseyxxindexyxcaseyxindexyxcaseDefinition2) 12(1:32indexyxcase1644:1indexyxcase153) 14(4:2indexyxcase18Storage eff
15、ectiveness (2/3)15The Matrix requires to recalculate the index19Storage effectiveness (3/3)nInterlaced Matrix20Encode the sequences (1/2)nPurpose n Reduce the memory space and search timenUse Interlaced Matrix (Definition 2) method to encode PY2) 1(:3) 1(:2:1 thensequence,-2 a is xy If2 yxindexyxcas
16、eyxxindexyxcaseyxindexyxcaseDefinition21Encode the sequences (2/2)Length1234567EncodeIndexitem add”-”IndexBydefinition2Length2+Length1Length2+Length2Length2+Length2+Length1Length2+Length2+Length2Length2+Length2+Length2+Length1Example : a sequences PY is 12113 2,1,-3 12= 1+(2-1) 2=211= 1*1=13= -322Us
17、er on-demandnPurposenBe able to retrieve the result quickly based on the users demandnUsers can input min_sup, length, or specified-item23A Simple Example (1/3)SIDSequence13 1 2 1 321 2 3 233 1 2 341 2 1 3 1SIDSequenceAll of the 2-sequences13 1 2 1 33 1:2 1 33 2:1 33 31 2:1 31 1:31 32 1:32 3SIDIndex
18、13 1:2 1 3:73 2:1 3:83 3:91 2:1 3:21 1:3:11 3:52 1:3:32 3:6CodeSupport PY1(11)1Length=1-3:12(12)1Length=1-1:1 -3:1Length=25:13(21)1Length=1-3:14(22)Length=15(13)1Length=16(23)Length=17(31)1Length=1-1:1 -2:1 -3:1Length=22:1 6:1 (5):1Length=32,-3:18(32)1Length=1-1:1 -3:1Length=25:19(33)1Length=124A Si
19、mple Example (2/3)SIDIndex21 2:3 2:21 3:2:52 3:2:62 2:43 2:833 1:2 3:73 2:3:83 3:91 2:3:21 3:52 3:641 2:1 3 1:21 1:3 1:11 3:1:52 1:3 1:32 3:1:63 1:7SIDSequence13 1 2 1 321 2 3 233 1 2 341 2 1 3 1SIDsequenceAll of the 2-sequences21 2 3 21 2:3 21 3:22 3:22 23 233 1 2 33 1:2 33 2:33 31 2:31 32 341 2 1
20、3 11 2:1 3 11 1:3 11 3:12 1:3 12 3:13 125A Simple Example (3/3)CodeSupport PY1(11)2Length=1-1:1 -3:1Length=27:12(12)4Length=1-1:2 -2:1 -3:4Length=21:1 5:2 7:1 8:1Length=35,-1:13(21)2Length=1-1:1 -3:1Length=27:14(22)1Length=15(13)4Length=1-1:1 -2:16(23)4Length=1-1:1 -2:17(31)3Length=1-1:1 -2:2 -3:2Le
21、ngth=22:1 6:2 (5):1Length=32,-3:18(32)3Length=1-1:1 -3:2Length=25:19(33)2Length=1If min_sup=3code=2,5,6,7,8If min_length=4PYs length=2If specify sequence is 21=code=326Experiment (1/3)nScalability test for various min_sup thresholds 27Experiment (2/3)nScalability test for various transactions per cu
22、stomer 28Experiment (3/3)nScalability test for various min_sup thresholds Compare with FSE29Conclusions (1/2)nWe purpose a new method, ESPE, to mine sequential patterns without predetermining the minimal support.nESPE enumerates all 2-sequences by scanning the database only once, uses simple mathematical equations to compute all indexes of 2-sequences and encodes remaining se
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 江苏省扬州市江都区五校2026年校初三下学期9月阶段性检测试题英语试题含解析
- 天津市静海县名校2026届初三8月月考试语文试题含解析
- 河北省沧州青县联考2026年初三第二次中考模拟考英语试题含解析
- 江苏省无锡江阴市华士片2026届全国中考英语试题必刷模拟卷含解析
- 浙江省绍兴市2025-2026学年初三调研测试(二)语文试题理试题含解析
- 江苏省扬州市大丰区2026届初三一模(期末)英语试题含解析
- 上海外国语大秀洲外国语校2026年初三年级三模数学试题试卷含解析
- 江苏省淮安市2025-2026学年初三下学期自主练习语文试题含解析
- 陕西省汉中学市实验中学2025-2026学年初三第七次考试英语试题含解析
- 涂料工程承包合同
- 山西省部分学校2025-2026学年八年级上学期阶段二质量检测语文试题(含答案)
- 中小学校长安全培训课件
- OTC药品营销活动
- DB32-T 186-2015 建筑消防设施检测技术规程
- 运动员数据管理与健康档案模板
- AI工具深度测评与选型指南(5大类别,39个工具,92个实例测评)
- 新能源开发流程
- 智联招聘笔试题库
- 2025年公路检测工程师《水运结构与地基》试题及答案
- 企业税收政策合规性自查报告表
- (完整版)初一数学下册期末压轴题测试题(含答案)-培优试卷
评论
0/150
提交评论