Data Mining: Concepts and Techniques. Chap 8. Data Streams, Time Series Data, and. Sequential Patterns. Li Xiong

Size: px
Start display at page:

Download "Data Mining: Concepts and Techniques. Chap 8. Data Streams, Time Series Data, and. Sequential Patterns. Li Xiong"

Transcription

1 Data Mining: Concepts and Techniques Chap 8. Data Streams, Time Series Data, and Sequential Patterns Li Xiong Slides credits: Jiawei Han and Micheline Kamber and others March 27, 2008 Data Mining: Concepts and Techniques 1

2 Mining Stream, Time-Series, and Sequence Data Mining data streams Mining time-series data Mining sequence data March 27, 2008 Data Mining: Concepts and Techniques 2

3 Mining Data Streams Stream data and stream data processing Basic methodologies for stream data processing and mining Stream frequent pattern analysis Stream classification Stream cluster analysis March 27, 2008 Data Mining: Concepts and Techniques 3

4 Data Streams Data Streams A sequence of data in transmission An ordered pair (s, ) where: s is a sequence of tuples, is the sequence of time intervals Characteristics Continuous Huge volumes, possibly infinite Fast changing and requires fast, real-time response Random access is expensive single scan algorithm Low-level or multi-dimensional in nature March 27, 2008 Data Mining: Concepts and Techniques 4

5 Stream Data Applications Telecommunication calling records Business: credit card transaction flows Network monitoring and traffic engineering Financial market: stock exchange Engineering & industrial processes: power supply & manufacturing Sensor, monitoring & surveillance: video streams, RFIDs Security monitoring Web logs and Web page click streams Massive data sets (even saved but random access is too expensive) March 27, 2008 Data Mining: Concepts and Techniques 5

6 Architecture: Stream Query Processing and Mining SDMS (Stream Data Management System) User/Application Continuous Query Results Multiple streams Stream Query Processor Scratch Space (Main memory and/or Disk) March 27, 2008 Data Mining: Concepts and Techniques 6

7 DBMS versus DSMS Persistent relations One-time queries Random access Unbounded disk store Only current state matters No real-time services Relatively low update rate Data at any granularity Assume precise data Access plan determined by query processor, physical DB design Transient streams Continuous queries Sequential access Bounded main memory Historical data is important Real-time requirements Possibly multi-gb arrival rate Data at fine granularity Data stale/imprecise Unpredictable/variable data arrival and characteristics Ack. From Motwani s PODS tutorial slides March 27, 2008 Data Mining: Concepts and Techniques 7

8 Mining Data Streams Stream data and stream data processing Foundations for stream data mining Stream frequent pattern analysis Stream classification Stream cluster analysis March 27, 2008 Data Mining: Concepts and Techniques 8

9 Methodologies for Stream Data Processing Major challenges Keep track of a large universe Methodology Choosing a subset of data Sampling Sliding windows Load shedding Summarizing the data Synopses (trade-off between accuracy and storage) March 27, 2008 Data Mining: Concepts and Techniques 9

10 Random Sampling: Uniform Sampling Uniform sampling Data stream of size N Assume all samples are equally likely Example a data stream of size 4 (also called population) possible samples of size 2 Slides: R. Gemulla, W. Lehner, P. J. Haas

11 Random Sampling: Reservoir Sampling Reservoir sampling Single-scan algorithm Compute a uniform sample of M elements without N Idea Maintain a reservoir, which form a random sample of the elements seen so far in the stream Algorithm add the first M elements Afterwards at item i, flip a coin a) ignore the element (reject) b) replace a random element in the sample (accept) sample size P( t i is accepted) = = current population size M i Slides: R. Gemulla, W. Lehner, P. J. Haas

12 Random Sampling: Reservoir Sampling (Example) Example data stream sample size M = 2 1/3 1/3 1/3 2/4 1/4 1/4 2/4 1/4 1/4 2/4 1/4 1/4

13 Sliding Windows Sliding Windows Make decisions based only on recent data of sliding window size w An element arriving at time t expires at time t + w Why? Approximation technique for bounded memory Natural in applications (emphasizes recent data) Well-specified and deterministic semantics PODS

14 Load shedding Load Shedding Discards some data so the system can flow Techniques Filters (semantic drop) Chooses what to shed based on QoS, selectivity Drops (random drop) Eliminates a random fraction of input Hospital example Load shedding based on condition Patients Doctors Condition Filter Patients Doctors Join Join Doctors who can work on a patient Doctors who can work on a patient

15 Synopsis Synopsis Summaries for data Can be used to return approximate answers 0 Trade off between space and accuracy 1 Techniques Histograms Wavelets Sketching May require multiple passes Synopses/Data Structures March 27,

16 Mining Data Streams Stream data and stream data processing Foundations for stream data mining Stream frequent pattern analysis Stream classification Stream cluster analysis Research issues March 27, 2008 Data Mining: Concepts and Techniques 16

17 Issues Frequent Pattern Mining for Data Streams Multiple scans for training not feasible Memory/space management Concept drift Methods Approximate frequent patterns (Manku & Motwani VLDB 02) Mining evolution of freq. patterns (C. Giannella, J. Han, X. Yan, P.S. Yu, 2003) Space-saving computation of frequent and top-k elements (Metwally, Agrawal, and El Abbadi, ICDT'05) March 27, 2008 Data Mining: Concepts and Techniques 17

18 Mining Approximate Frequent Patterns Lossy Counting Algorithm (Manku & Motwani, VLDB 02) Motivation Mining precise freq. patterns in stream data: unrealistic Approximate answers are often sufficient (e.g., trend/pattern analysis) Example: a router interested in all flows whose frequency is at least 1% (σ) of the entire traffic stream seen so far; 1/10 of σ (ε = 0.1%) error is comfortable Major ideas: approximation by tracing only frequent items Adv: guaranteed error bound Disadv: keep a large set of traces March 27, 2008 Data Mining: Concepts and Techniques 18

19 Lossy Counting for Frequent Items Bucket 1 Bucket 2 Bucket 3 Input variables ϭ: min_support, ε: error bound Fixed variables w=1/ ε: window size Running variables N: current stream length bcurrent = ε N: the current bucket fe: the real frequency count of element e Set of (e, f, ): (element, approximate frequency, max error) March 27, 2008 Data Mining: Concepts and Techniques 19

20 Lossy Counting for Frequent Items Bucket 1 Bucket 2 Bucket 3 For each new element e If an entry for e exists, then incrementing its frequency f by 1 Otherwise, create a new entry (e, 1, bcurrent -1) At bucket boundaries Decrement frequency of all entries by 1 Delete entries with f+ <= bcurrent March 27, 2008 Data Mining: Concepts and Techniques 20

21 Illustration bcurrent=1 (e, f, ) Empty (summary) + bcurrent (e, f, ) + March 27, 2008 Data Mining: Concepts and Techniques 21

22 Approximation Guarantee Output: items with frequency counts exceeding (σ ε) N Error analysis: how much do we undercount? If stream length seen so far = N and bucket-size = 1/ε then frequency count error #buckets = εn Approximation guarantee No false negatives False positives have true frequency count at least (σ ε)n Frequency count underestimated by at most εn March 27, 2008 Data Mining: Concepts and Techniques 22

23 Lossy Counting For Frequent Itemsets Divide Stream into Buckets as for itemsets Bucket 1 Bucket 2 Bucket 3 Set of (set, f, ): (itemset, approximate frequency, max error) March 27, 2008 Data Mining: Concepts and Techniques 23

24 Update of Summary Data Structure summary data Processing 3 buckets in memory summary data March 27, 2008 Data Mining: Concepts and Techniques 24

25 Summary of Lossy Counting Strength A simple idea Can be extended to frequent itemsets Weakness: Space Bound is not good For frequent itemsets, they do scan each record many times The output is based on all previous data. But sometimes, we are only interested in recent data March 27, 2008 Data Mining: Concepts and Techniques 25

26 Mining Evolution of Frequent Patterns for Stream Data Mining evolution and dramatic changes of frequent patterns (Giannella, Han, Yan, Yu, 2003) Use tilted time window frame Use compressed form to store significant (approximate) frequent patterns and their time-dependent traces March 27, 2008 Data Mining: Concepts and Techniques 26

27 A Titled Time Model Natural tilted time frame: Example: Minimal: quarter, then 4 quarters 1 hour, 24 hours day, 12 months 31 days 24 hours 4qtrs time Logarithmic tilted time frame: Example: Minimal: 1 minute, then 1, 2, 4, 8, 16, 32, 64t 32t 16t 8t 4t 2t t t Time March 27, 2008 Data Mining: Concepts and Techniques 27

28 Two Structures for Mining Frequent Patterns with Tilted-Time Window (1) FP-Trees store Frequent Patterns Tilted-time major: An FP-tree for each tilted time frame March 27, 2008 Data Mining: Concepts and Techniques 28

29 Frequent Pattern & Tilted-Time Window (2) The second data structure: Observation: FP-Trees of different time units are similar Pattern-tree major: each node is associated with a tilted-time window March 27, 2008 Data Mining: Concepts and Techniques 29

30 Mining Data Streams Stream data and stream data processing Foundations for stream data mining Stream frequent pattern analysis Stream classification Stream cluster analysis March 27, 2008 Data Mining: Concepts and Techniques 30

31 Classification for Dynamic Data Streams Issues Multiple scans for training not feasible Concept drift Methods VFDT (Very Fast Decision Tree) and CVFDT (Concept-adapting Very Fast Decision Tree) (Domingos, Hulten, Spencer, KDD00/KDD01) Ensemble (Wang, Fan, Yu, Han. KDD 03) K-nearest neighbors (Aggarwal, Han, Wang, Yu. KDD 04) March 27, 2008 Data Mining: Concepts and Techniques 31

32 VFDT Basic idea Consider only a small subset of training examples to find best split attribute at a node given a split evaluation measure G How many examples are necessary at each node? Statistical foundation: Hoeffding Bound (Additive Chernoff Bound) r: random variable R: range of r n: # independent observations True mean of r is at least r avg ε, with probability 1 δ ε = R 2 ln( 1 2 n / δ ) Given observed best attribute X a and second best attribute X b if G = G(X a ) G(X b ) > ε, then G >= G - ε > 0 with probability 1- δ March 27, 2008 Data Mining: Concepts and Techniques 32

33 Hoeffding Tree Algorithm Hoeffding Tree Input S: sequence of examples X: attributes G: split evaluation function (info gain, Gini index) δ: 1 - desired probability of choosing correct attribute Hoeffding Tree Algorithm for each example in S retrieve G(X a ) and G(X b ) //two highest G(X i ) compute ε if ( G(X a ) G(X b ) > ε ) split on X a recursive to next node break March 27, 2008 Data Mining: Concepts and Techniques 33

34 Decision-Tree Induction with Data Streams Packets > 10 yes no Data Stream Protocol = http Bytes > 60K yes Packets > 10 yes no Protocol = http Data Stream Protocol = ftp March 27, 2008 Slide: Gehrke 34

35 Hoeffding Tree: Strengths and Weaknesses Strengths Scales better than traditional methods Sublinear with sampling Very small memory utilization Incremental Weakness Make class predictions in parallel New examples are added as they come Could spend a lot of time with ties Memory utilization issues with tree expansion and large number of candidate attributes March 27, 2008 Data Mining: Concepts and Techniques 35

36 VFDT (Very Fast Decision Tree) Modifications to Hoeffding Tree Near-ties broken more aggressively G computed every n min Deactivates certain leaves to save memory Poor attributes dropped Initialize with traditional learner (helps learning curve) Compare to traditional decision tree Similar accuracy Better runtime with 1.61 million examples 21 minutes for VFDT 24 hours for C4.5 March 27, 2008 Data Mining: Concepts and Techniques 36

37 CVFDT (Concept-adapting VFDT) Concept Drift Time-changing data streams Incorporate new and eliminate old CVFDT Sliding window approach Increments count with new example Decrement old example Grows alternate subtrees When alternate more accurate => replace old March 27, 2008 Data Mining: Concepts and Techniques 37

38 Mining Data Streams Stream data and stream data processing Foundations for stream data mining Stream frequent pattern analysis Stream classification Stream cluster analysis March 27, 2008 Data Mining: Concepts and Techniques 38

39 Stream Cluster Analysis Issues Multiple scan not feasible Memory and time constraints Concept drift Methods STREAM based on k-medians [GMMO01] CLuStream based on microclustering and macroclustering (Agarwal, Han, Wang, Yu, VLDB 03) March 27, 2008 Data Mining: Concepts and Techniques 39

40 STREAM [GMMO01] Problem: find k clusters in the stream s.t. the sum of distances from data points to their closest center is minimized (k-median method) Basic idea: divide-and-conquer Approximation algorithm 1. For each set of M records, S i, perform k-median clustering and find O(k) centers Only retain center information (weighted by # points assigned to the cluster) 2. When there are enough centers, cluster the weighted centers March 27, 2008 Data Mining: Concepts and Techniques 40

41 Hierarchical Clustering Tree level-(i+1) medians level-i medians data points March 27, 2008 Data Mining: Concepts and Techniques 41

42 Hierarchical Tree Method: maintain at most m level-i medians On seeing m of them, generate O(k) level-(i+1) medians of weight equal to the sum of the weights of the intermediate medians assigned to them Drawbacks: Low quality for evolving data streams (register only k centers) Limited functionality in discovering and exploring clusters over different portions of the stream over time March 27, 2008 Data Mining: Concepts and Techniques 42

43 CluStream: A Framework for Clustering Evolving Data Streams Basic idea Tilted time framework Two stages: micro-clustering and macro-clustering Algorithm Online/micro-clustering: periodically computes microclusters Given Multi-dimensional points X... X... at time stamps T... T... 1 k Cluster-feature vector (temporal extension of BIRCH) ( ) x x t t CF 2, CF1, CF 2, CF1, n Offline/macro-clustering: compute macroclusters using the k- means algorithm based on user-specified time-horizon 1 k March 27, 2008 Data Mining: Concepts and Techniques 43

44 Summary: Stream Data Mining Stream data mining: A rich and on-going research field Current research focus in database community: DSMS system architecture, continuous query processing, supporting mechanisms Stream data mining Powerful tools for finding general and unusual patterns Effectiveness, efficiency and scalability: lots of open problems March 27, 2008 Data Mining: Concepts and Techniques 44

45 References on Stream Data Mining (1) C. Aggarwal, J. Han, J. Wang, P. S. Yu. A Framework for Clustering Data Streams, VLDB'03 C. C. Aggarwal, J. Han, J. Wang and P. S. Yu. On-Demand Classification of Evolving Data Streams, KDD'04 C. Aggarwal, J. Han, J. Wang, and P. S. Yu. A Framework for Projected Clustering of High Dimensional Data Streams, VLDB'04 S. Babu and J. Widom. Continuous Queries over Data Streams. SIGMOD Record, Sept B. Babcock, S. Babu, M. Datar, R. Motwani and J. Widom. Models and Issues in Data Stream Systems, PODS'02. (Conference tutorial) Y. Chen, G. Dong, J. Han, B. W. Wah, and J. Wang. "Multi-Dimensional Regression Analysis of Time-Series Data Streams, VLDB'02 P. Domingos and G. Hulten, Mining high-speed data streams, KDD'00 A. Dobra, M. N. Garofalakis, J. Gehrke, R. Rastogi. Processing Complex Aggregate Queries over Data Streams, SIGMOD 02 J. Gehrke, F. Korn, D. Srivastava. On computing correlated aggregates over continuous data streams. SIGMOD'01 C. Giannella, J. Han, J. Pei, X. Yan and P.S. Yu. Mining frequent patterns in data streams at multiple time granularities, Kargupta, et al. (eds.), Next Generation Data Mining 04 March 27, 2008 Data Mining: Concepts and Techniques 45

46 References on Stream Data Mining (2) S. Guha, N. Mishra, R. Motwani, and L. O'Callaghan. Clustering Data Streams, FOCS'00 G. Hulten, L. Spencer and P. Domingos: Mining time-changing data streams. KDD 2001 S. Madden, M. Shah, J. Hellerstein, V. Raman, Continuously Adaptive Continuous Queries over Streams, SIGMOD02 G. Manku, R. Motwani. Approximate Frequency Counts over Data Streams, VLDB 02 A. Metwally, D. Agrawal, and A. El Abbadi. Efficient Computation of Frequent and Top-k Elements in Data Streams. ICDT'05 S. Muthukrishnan, Data streams: algorithms and applications, Proceedings of the fourteenth annual ACM-SIAM symposium on Discrete algorithms, 2003 R. Motwani and P. Raghavan, Randomized Algorithms, Cambridge Univ. Press, 1995 S. Viglas and J. Naughton, Rate-Based Query Optimization for Streaming Information Sources, SIGMOD 02 Y. Zhu and D. Shasha. StatStream: Statistical Monitoring of Thousands of Data Streams in Real Time, VLDB 02 H. Wang, W. Fan, P. S. Yu, and J. Han, Mining Concept-Drifting Data Streams using Ensemble Classifiers, KDD'03 March 27, 2008 Data Mining: Concepts and Techniques 46

47 Mining Stream, Time-Series, and Sequence Data Mining data streams Mining time-series data Mining sequence data March 27, 2008 Data Mining: Concepts and Techniques 47

48 Time-Series Data and Time-Series Analysis Time-series data A sequences of data points measured at successive (often regular) time intervals Time-series data vs. data streams Can be a snapshot of data streams Persistent, various granularity Time-series analysis Understand characteristics and generating mechanism of the data trend, cycle, seasonal, irregular Make forecasts Time-series analysis vs. ordinary analysis and spatial analysis Applications Economics and finance: stock price, exchange rate Industry: power consumption Scientific: experiment results Meteorological: precipitation March 27, 2008 Data Mining: Concepts and Techniques 48

49 Time-Series Data Illustration A time series can be illustrated as a time-series graph which describes a point moving with the passage of time March 27, 2008 Data Mining: Concepts and Techniques 49

50 Identifying Patterns in Time-Series Components Long-term or trend movements (T). Long term cyclic oscillations (C). E.g. business cycles Short term oscillations (S). E.g. seasonal and calendar-related Irregular or random movements Decomposition models Additive models Multiplicative models Quarterly Gross Domestic Product March 27, 2008 Data Mining: Concepts and Techniques 50

51 Additive Models Additive Modal: TS = T + C + S + I General Government and Other Current Transfers to Other Sectors March 27, 2008 Data Mining: Concepts and Techniques 51

52 Multiplicative Models Multiplicative Modal: TS = T * C * S * I Monthly Job Advertisements March 27, 2008 Data Mining: Concepts and Techniques 52

53 Trend Analysis Trend analysis: identify the long term trend in the time series Method The freehand method Function fitting Linear vs. non-linear Preprocessing Smoothing: moving-average method Alternatives: moving mean Seasonal adjustment (deseasonalize) March 27, 2008 Data Mining: Concepts and Techniques 53

54 Seasonality Analysis Seasonality analysis: identify seasonal patterns Correlational dependency of order k between each i'th element of the series and the (i-k)'th element Method Visual identification Autocorrelation March 27, 2008 Data Mining: Concepts and Techniques 54

55 Other Components Estimation of cyclic variations Long term cyclic variations can be identified in similar manner as seasonality Estimation of irregular variations By adjusting the data for trend, seasonal and cyclic variations With the systematic analysis of the trend, cyclic, seasonal, and irregular components, it is possible to make long- or short-term predictions with reasonable quality March 27, 2008 Data Mining: Concepts and Techniques 55

56 Time-Series Forecasting Technical analysis (time series analysis) vs. fundamental analysis Models and patterns Head and shoulder pattern Random walk model Methods ARIMA model Neural networks

57 Time-Series Forecasting: ARIMA ARIMA (Auto-Regressive Integrated Moving Average) model by Box and Jenkins (1976) ARIMA(p,d,q) model Auto-regressive process AR(p): each element is made up of a random component and a linear combination of prior elements Moving average process MA(q): each element is made up of a random error component and a linear combination of prior random errors Integrated/Differenced I(d) Special cases ARIMA(0,1,0) random walk model Identification, estimation and forecasting March 27, 2008 Data Mining: Concepts and Techniques 57

58 Similarity Search in Time-Series Analysis Two categories of similarity search Whole matching: find a sequence that is similar to the query sequence Subsequence matching: find all pairs of similar sequences Typical Applications Financial market Market basket data analysis Scientific databases Medical diagnosis March 27, 2008 Data Mining: Concepts and Techniques 58

59 Similarity Search Whole matching Construct a multidimensional index based on Fourier or Wavelet coefficients Retrieve similar sequences Subsequence matching Break each sequence into a set of pieces of window with length w Use a multi-piece assembly algorithm to search for longer sequence matches March 27, 2008 Data Mining: Concepts and Techniques 59

60 References R. Agrawal, C. Faloutsos, and A. Swami. Efficient similarity search in sequence databases. FODO 93 (Foundations of Data Organization and Algorithms). R. Agrawal, K.-I. Lin, H.S. Sawhney, and K. Shim. Fast similarity search in the presence of noise, scaling, and translation in time-series databases. VLDB'95. R. Agrawal, G. Psaila, E. L. Wimmers, and M. Zait. Querying shapes of histories. VLDB'95. C. Chatfield. The Analysis of Time Series: An Introduction, 3rd ed. Chapman & Hall, C. Faloutsos, M. Ranganathan, and Y. Manolopoulos. Fast subsequence matching in time-series databases. SIGMOD'94. D. Rafiei and A. Mendelzon. Similarity-based queries for time series data. SIGMOD'97. Y. Moon, K. Whang, W. Loh. Duality Based Subsequence Matching in Time-Series Databases, ICDE 02 B.-K. Yi, H. V. Jagadish, and C. Faloutsos. Efficient retrieval of similar time sequences under time warping. ICDE'98. B.-K. Yi, N. Sidiropoulos, T. Johnson, H. V. Jagadish, C. Faloutsos, and A. Biliris. Online data mining for co-evolving time sequences. ICDE'00. Dennis Shasha and Yunyue Zhu. High Performance Discovery in Time Series: Techniques and Case Studies, SPRINGER, 2004 March 27, 2008 Data Mining: Concepts and Techniques 60

61 Mining Stream, Time-Series, and Sequence Data Mining data streams Mining time-series data Mining sequence data March 27, 2008 Data Mining: Concepts and Techniques 61

62 Sequence Data & Sequential Patterns Sequence data A sequence of ordered data items, with or without notion of time Sequence data vs. time-series data vs. transaction data Frequent sequential pattern mining (symbolic) Applications of sequential pattern mining Customer shopping sequences Telephone calling patterns Weblog click streams March 27, 2008 Data Mining: Concepts and Techniques 62

63 Sequential Pattern Mining Agrawal and Srikant 1995 Given a set of sequences, find the complete set of frequent subsequences A sequence database SID sequence 10 <a(abc)(ac)d(cf)> 20 <(ad)c(bc)(ae)> 30 <(ef)(ab)(df)cb> 40 <eg(af)cbc> A sequence : < (ef) (ab) (df) c b > An element contains a set of unordered items An l-sequence is a sequence of length l (l items) <a(bc)dc> is a subsequence of <a(abc)(ac)d(cf)> Given support threshold min_sup =2, <(ab)c> is a sequential pattern March 27, 2008 Data Mining: Concepts and Techniques 63

64 Challenges on Sequential Pattern Mining A huge number of possible sequential patterns are hidden in databases A mining algorithm should find the complete set of patterns, when possible, satisfying the minimum support (frequency) threshold be highly efficient, scalable, involving only a small number of database scans be able to incorporate various kinds of user-specific constraints March 27, 2008 Data Mining: Concepts and Techniques 64

65 Sequential Pattern Mining Algorithms Concept introduction and an initial Apriori-like algorithm Agrawal & Srikant. Mining sequential patterns, ICDE 95 Apriori-based method: GSP (Generalized Sequential Patterns: Srikant & EDBT 96) Pattern-growth methods: FreeSpan & PrefixSpan (Han et al.@kdd 00; Pei, et al.@icde 01) Vertical format-based mining: SPADE (Zaki@Machine Leanining 00) Constraint-based sequential pattern mining (SPIRIT: Garofalakis, Rastogi, Shim@VLDB 99; Pei, Han, CIKM 02) Mining closed sequential patterns: CloSpan (Yan, Han & 03) March 27, 2008 Data Mining: Concepts and Techniques 65

66 GSP Generalized Sequential Pattern Mining GSP (Generalized Sequential Pattern) mining algorithm proposed by Agrawal and Srikant, EDBT 96 Outline of the method Initially, every item in DB is a candidate of length-1 for each level (i.e., sequences of length-k) do scan database to collect support count for each candidate sequence generate candidate length-(k+1) sequences from length-k frequent sequences using Apriori repeat until no frequent sequence or no candidate can be found Major strength: Candidate pruning by Apriori March 27, 2008 Data Mining: Concepts and Techniques 66

67 The Apriori Property of Sequential Patterns A basic property: Apriori (Agrawal & Sirkant 94) If a sequence S is not frequent Then none of the super-sequences of S is frequent E.g, <hb> is infrequent so do <hab> and <(ah)b> Seq. ID Sequence <(bd)cb(ac)> <(bf)(ce)b(fg)> <(ah)(bf)abf> <(be)(ce)d> <a(bd)bcb(ade)> Given support threshold min_sup =2 March 27, 2008 Data Mining: Concepts and Techniques 67

68 GSP Example: Finding Length-1 Patterns Initial candidates: all singleton sequences <a>, <b>, <c>, <d>, <e>, <f>, <g>, <h> Scan database once, count support for candidates min_sup =2 Seq. ID Sequence <(bd)cb(ac)> <(bf)(ce)b(fg)> <(ah)(bf)abf> <(be)(ce)d> <a(bd)bcb(ade)> Cand Sup <a> 3 <b> 5 <c> 4 <d> 3 <e> 3 <f> 2 <g> 1 <h> 1 March 27, 2008 Data Mining: Concepts and Techniques 68

69 GSP Example: Generating Length-2 Candidates 2-element sequences <a> <b> <c> <d> <e> <f> <a> <aa> <ab> <ac> <ad> <ae> <af> <b> <ba> <bb> <bc> <bd> <be> <bf> <c> <ca> <cb> <cc> <cd> <ce> <cf> <d> <da> <db> <dc> <dd> <de> <df> <e> <ea> <eb> <ec> <ed> <ee> <ef> <f> <fa> <fb> <fc> <fd> <fe> <ff> 1-element sequences <a> <b> <c> <d> <e> <f> <a> <(ab)> <(ac)> <(ad)> <(ae)> <(af)> <b> <(bc)> <(bd)> <(be)> <(bf)> <c> <(cd)> <(ce)> <(cf)> <d> <(de)> <(df)> <e> <(ef)> <f> With Apriori: 6*6+6*5/2 = 51 candidates Without Apriori: 8*8+8*7/2 = 92 candidates Apriori prunes 44.57% candidates March 27, 2008 Data Mining: Concepts and Techniques 69

70 GSP Example 5 th scan: 1 cand. 1 length-5 pat. <(bd)cba> Cand. cannot pass sup. threshold 4 th scan: 8 cand. 6 length-4 pat. <abba> <(bd)bc> Cand. not in DB at all 3 rd scan: 47 cand. 19 length-3 pat. <abb> <aab> <aba> <baa> <bab> 20 cand. not in DB at all 2 nd scan: 51 cand. 19 length-2 pat. 10 cand. not in DB at all <aa> <ab> <af> <ba> <bb> <ff> <(ab)> <(ef)> 1 st scan: 8 cand. 6 length-1 pat. <a> <b> <c> <d> <e> <f> <g> <h> min_sup =2 Seq. ID <(be)(ce)d> 50 <a(bd)bcb(ade)> March 27, 2008 Data Mining: Concepts and Techniques Sequence <(bd)cb(ac)> <(bf)(ce)b(fg)> <(ah)(bf)abf>

71 Candidate Generate-and-test: Drawbacks A huge set of candidate sequences generated. Especially 2-item candidate sequence. Multiple Scans of database needed. The length of each candidate grows by one at each database scan. Inefficient for mining long sequential patterns. A long pattern grow up from short patterns The number of short patterns is exponential to the length of mined patterns. March 27, 2008 Data Mining: Concepts and Techniques 71

72 PrefixSpan PrefixSpan (Han et 00) Divide and conquer Grow frequent patterns in projected database No candidate sequence needs to be generated Major cost: constructing projected databases March 27, 2008 Data Mining: Concepts and Techniques 72

73 The SPADE Algorithm SPADE (Sequential PAttern Discovery using Equivalent Class) developed by Zaki 2001 A vertical format sequential pattern mining method A sequence database is mapped to a large set of Item: <SID, EID> Sequential pattern mining is performed by growing the subsequences (patterns) one item at a time by Apriori candidate generation March 27, 2008 Data Mining: Concepts and Techniques 73

74 Ref: Mining Sequential Patterns R. Srikant and R. Agrawal. Mining sequential patterns: Generalizations and performance improvements. EDBT 96. H. Mannila, H Toivonen, and A. I. Verkamo. Discovery of frequent episodes in event sequences. DAMI:97. M. Zaki. SPADE: An Efficient Algorithm for Mining Frequent Sequences. Machine Learning, J. Pei, J. Han, H. Pinto, Q. Chen, U. Dayal, and M.-C. Hsu. PrefixSpan: Mining Sequential Patterns Efficiently by Prefix-Projected Pattern Growth. ICDE'01 (TKDE 04). J. Pei, J. Han and W. Wang, Constraint-Based Sequential Pattern Mining in Large Databases, CIKM'02. X. Yan, J. Han, and R. Afshar. CloSpan: Mining Closed Sequential Patterns in Large Datasets. SDM'03. J. Wang and J. Han, BIDE: Efficient Mining of Frequent Closed Sequences, ICDE'04. H. Cheng, X. Yan, and J. Han, IncSpan: Incremental Mining of Sequential Patterns in Large Database, KDD'04. J. Han, G. Dong and Y. Yin, Efficient Mining of Partial Periodic Patterns in Time Series Database, ICDE'99. J. Yang, W. Wang, and P. S. Yu, Mining asynchronous periodic patterns in time series data, KDD'00. March 27, 2008 Data Mining: Concepts and Techniques 74

BBS654 Data Mining. Pinar Duygulu. Slides are adapted from Nazli Ikizler

BBS654 Data Mining. Pinar Duygulu. Slides are adapted from Nazli Ikizler BBS654 Data Mining Pinar Duygulu Slides are adapted from Nazli Ikizler 1 Sequence Data Sequence Database: Timeline 10 15 20 25 30 35 Object Timestamp Events A 10 2, 3, 5 A 20 6, 1 A 23 1 B 11 4, 5, 6 B

More information

CS145: INTRODUCTION TO DATA MINING

CS145: INTRODUCTION TO DATA MINING CS145: INTRODUCTION TO DATA MINING Sequence Data: Sequential Pattern Mining Instructor: Yizhou Sun yzsun@cs.ucla.edu November 27, 2017 Methods to Learn Vector Data Set Data Sequence Data Text Data Classification

More information

Data Mining: Concepts and Techniques. Chapter Mining sequence patterns in transactional databases

Data Mining: Concepts and Techniques. Chapter Mining sequence patterns in transactional databases Data Mining: Concepts and Techniques Chapter 8 8.3 Mining sequence patterns in transactional databases Jiawei Han and Micheline Kamber Department of Computer Science University of Illinois at Urbana-Champaign

More information

Mining Data Streams Data Mining and Text Mining (UIC Politecnico di Milano) Daniele Loiacono

Mining Data Streams Data Mining and Text Mining (UIC Politecnico di Milano) Daniele Loiacono Mining Data Streams Data Mining and Text Mining (UIC 583 @ Politecnico di Milano) References Jiawei Han and Micheline Kamber, "Data Mining: Concepts and Techniques", The Morgan Kaufmann Series in Data

More information

Data Mining: Concepts and Techniques. Chapter Mining data streams

Data Mining: Concepts and Techniques. Chapter Mining data streams Data Mining: Concepts and Techniques Chapter 8 8.1. Mining data streams Jiawei Han and Micheline Kamber Department of Computer Science University of Illinois at Urbana-Champaign www.cs.uiuc.edu/~hanj 2006

More information

Lecture 10 Sequential Pattern Mining

Lecture 10 Sequential Pattern Mining Lecture 10 Sequential Pattern Mining Zhou Shuigeng June 3, 2007 Outline Sequence data Sequential patterns Basic algorithm for sequential pattern mining Advanced algorithms for sequential pattern mining

More information

Frequent Pattern Mining

Frequent Pattern Mining Frequent Pattern Mining...3 Frequent Pattern Mining Frequent Patterns The Apriori Algorithm The FP-growth Algorithm Sequential Pattern Mining Summary 44 / 193 Netflix Prize Frequent Pattern Mining Frequent

More information

CS6220: DATA MINING TECHNIQUES

CS6220: DATA MINING TECHNIQUES CS6220: DATA MINING TECHNIQUES Sequence Data Instructor: Yizhou Sun yzsun@ccs.neu.edu November 22, 2015 Announcement TRACE faculty survey myneu->self service tab Homeworks HW5 will be the last homework

More information

Data Mining: Principles and Algorithms Mining Data Streams

Data Mining: Principles and Algorithms Mining Data Streams Data Mining: Principles and Algorithms Mining Data Streams Jiawei Han Department of Computer Science University of Illinois at Urbana-Champaign www.cs.uiuc.edu/~hanj 2014 Jiawei Han. All rights reserved.

More information

Mining Data Streams. From Data-Streams Management System Queries to Knowledge Discovery from continuous and fast-evolving Data Records.

Mining Data Streams. From Data-Streams Management System Queries to Knowledge Discovery from continuous and fast-evolving Data Records. DATA STREAMS MINING Mining Data Streams From Data-Streams Management System Queries to Knowledge Discovery from continuous and fast-evolving Data Records. Hammad Haleem Xavier Plantaz APPLICATIONS Sensors

More information

Advance Association Analysis

Advance Association Analysis Advance Association Analysis 1 Minimum Support Threshold 3 Effect of Support Distribution Many real data sets have skewed support distribution Support distribution of a retail data set 4 Effect of Support

More information

Mining Data Streams. Outline [Garofalakis, Gehrke & Rastogi 2002] Introduction. Summarization Methods. Clustering Data Streams

Mining Data Streams. Outline [Garofalakis, Gehrke & Rastogi 2002] Introduction. Summarization Methods. Clustering Data Streams Mining Data Streams Outline [Garofalakis, Gehrke & Rastogi 2002] Introduction Summarization Methods Clustering Data Streams Data Stream Classification Temporal Models CMPT 843, SFU, Martin Ester, 1-06

More information

Chapter 13, Sequence Data Mining

Chapter 13, Sequence Data Mining CSI 4352, Introduction to Data Mining Chapter 13, Sequence Data Mining Young-Rae Cho Associate Professor Department of Computer Science Baylor University Topics Single Sequence Mining Frequent sequence

More information

Mining Frequent Itemsets for data streams over Weighted Sliding Windows

Mining Frequent Itemsets for data streams over Weighted Sliding Windows Mining Frequent Itemsets for data streams over Weighted Sliding Windows Pauray S.M. Tsai Yao-Ming Chen Department of Computer Science and Information Engineering Minghsin University of Science and Technology

More information

CSE 5243 INTRO. TO DATA MINING

CSE 5243 INTRO. TO DATA MINING CSE 543 INTRO. TO DATA MINING Advanced Frequent Pattern Mining & Locality Sensitive Hashing Huan Sun, CSE@The Ohio State University Slides adapted from Prof. Jiawei Han @UIUC, Prof. Srinivasan Parthasarathy

More information

Chapter 4: Mining Frequent Patterns, Associations and Correlations

Chapter 4: Mining Frequent Patterns, Associations and Correlations Chapter 4: Mining Frequent Patterns, Associations and Correlations 4.1 Basic Concepts 4.2 Frequent Itemset Mining Methods 4.3 Which Patterns Are Interesting? Pattern Evaluation Methods 4.4 Summary Frequent

More information

CS570 Introduction to Data Mining

CS570 Introduction to Data Mining CS570 Introduction to Data Mining Frequent Pattern Mining and Association Analysis Cengiz Gunay Partial slide credits: Li Xiong, Jiawei Han and Micheline Kamber George Kollios 1 Mining Frequent Patterns,

More information

Mining Frequent Itemsets from Data Streams with a Time- Sensitive Sliding Window

Mining Frequent Itemsets from Data Streams with a Time- Sensitive Sliding Window Mining Frequent Itemsets from Data Streams with a Time- Sensitive Sliding Window Chih-Hsiang Lin, Ding-Ying Chiu, Yi-Hung Wu Department of Computer Science National Tsing Hua University Arbee L.P. Chen

More information

Clustering from Data Streams

Clustering from Data Streams Clustering from Data Streams João Gama LIAAD-INESC Porto, University of Porto, Portugal jgama@fep.up.pt 1 Introduction 2 Clustering Micro Clustering 3 Clustering Time Series Growing the Structure Adapting

More information

DATA STREAMS: MODELS AND ALGORITHMS

DATA STREAMS: MODELS AND ALGORITHMS DATA STREAMS: MODELS AND ALGORITHMS DATA STREAMS: MODELS AND ALGORITHMS Edited by CHARU C. AGGARWAL IBM T. J. Watson Research Center, Yorktown Heights, NY 10598 Kluwer Academic Publishers Boston/Dordrecht/London

More information

Data Mining: Concepts and Techniques. (3 rd ed.) Chapter 6

Data Mining: Concepts and Techniques. (3 rd ed.) Chapter 6 Data Mining: Concepts and Techniques (3 rd ed.) Chapter 6 Jiawei Han, Micheline Kamber, and Jian Pei University of Illinois at Urbana-Champaign & Simon Fraser University 2013-2017 Han, Kamber & Pei. All

More information

Volume 2, Issue 2, February 2014 International Journal of Advance Research in Computer Science and Management Studies

Volume 2, Issue 2, February 2014 International Journal of Advance Research in Computer Science and Management Studies Volume 2, Issue 2, February 2014 International Journal of Advance Research in Computer Science and Management Studies Research Article / Paper / Case Study Available online at: www.ijarcsms.com Mining

More information

CS490D: Introduction to Data Mining Prof. Chris Clifton

CS490D: Introduction to Data Mining Prof. Chris Clifton CS490D: Introduction to Data Mining Prof. Chris Clifton April 5, 2004 Mining of Time Series Data Time-series database Mining Time-Series and Sequence Data Consists of sequences of values or events changing

More information

Data Mining for Knowledge Management. Association Rules

Data Mining for Knowledge Management. Association Rules 1 Data Mining for Knowledge Management Association Rules Themis Palpanas University of Trento http://disi.unitn.eu/~themis 1 Thanks for slides to: Jiawei Han George Kollios Zhenyu Lu Osmar R. Zaïane Mohammad

More information

CIS-331 Fall 2013 Exam 1 Name: Total of 120 Points Version 1

CIS-331 Fall 2013 Exam 1 Name: Total of 120 Points Version 1 Version 1 1. (24 Points) Show the routing tables for routers A, B, C, and D. Make sure you account for traffic to the Internet. NOTE: Router E should only be used for Internet traffic. Router A Router

More information

Pattern Mining. Knowledge Discovery and Data Mining 1. Roman Kern KTI, TU Graz. Roman Kern (KTI, TU Graz) Pattern Mining / 42

Pattern Mining. Knowledge Discovery and Data Mining 1. Roman Kern KTI, TU Graz. Roman Kern (KTI, TU Graz) Pattern Mining / 42 Pattern Mining Knowledge Discovery and Data Mining 1 Roman Kern KTI, TU Graz 2016-01-14 Roman Kern (KTI, TU Graz) Pattern Mining 2016-01-14 1 / 42 Outline 1 Introduction 2 Apriori Algorithm 3 FP-Growth

More information

Lecture Topic Projects 1 Intro, schedule, and logistics 2 Data Science components and tasks 3 Data types Project #1 out 4 Introduction to R,

Lecture Topic Projects 1 Intro, schedule, and logistics 2 Data Science components and tasks 3 Data types Project #1 out 4 Introduction to R, Lecture Topic Projects 1 Intro, schedule, and logistics 2 Data Science components and tasks 3 Data types Project #1 out 4 Introduction to R, statistics foundations 5 Introduction to D3, visual analytics

More information

CIS-331 Fall 2014 Exam 1 Name: Total of 109 Points Version 1

CIS-331 Fall 2014 Exam 1 Name: Total of 109 Points Version 1 Version 1 1. (24 Points) Show the routing tables for routers A, B, C, and D. Make sure you account for traffic to the Internet. Router A Router B Router C Router D Network Next Hop Next Hop Next Hop Next

More information

Stream Sequential Pattern Mining with Precise Error Bounds

Stream Sequential Pattern Mining with Precise Error Bounds Stream Sequential Pattern Mining with Precise Error Bounds Luiz F. Mendes,2 Bolin Ding Jiawei Han University of Illinois at Urbana-Champaign 2 Google Inc. lmendes@google.com {bding3, hanj}@uiuc.edu Abstract

More information

Sequential PAttern Mining using A Bitmap Representation

Sequential PAttern Mining using A Bitmap Representation Sequential PAttern Mining using A Bitmap Representation Jay Ayres, Jason Flannick, Johannes Gehrke, and Tomi Yiu Dept. of Computer Science Cornell University ABSTRACT We introduce a new algorithm for mining

More information

4. Specifications and Additional Information

4. Specifications and Additional Information 4. Specifications and Additional Information AGX52004-1.0 8B/10B Code This section provides information about the data and control codes for Arria GX devices. Code Notation The 8B/10B data and control

More information

A Comprehensive Survey on Sequential Pattern Mining

A Comprehensive Survey on Sequential Pattern Mining A Comprehensive Survey on Sequential Pattern Mining Irfan Khan 1 Department of computer Application, S.A.T.I. Vidisha, (M.P.), India Anoop Jain 2 Department of computer Application, S.A.T.I. Vidisha, (M.P.),

More information

Mining Frequent Patterns without Candidate Generation

Mining Frequent Patterns without Candidate Generation Mining Frequent Patterns without Candidate Generation Outline of the Presentation Outline Frequent Pattern Mining: Problem statement and an example Review of Apriori like Approaches FP Growth: Overview

More information

An Algorithm for Mining Large Sequences in Databases

An Algorithm for Mining Large Sequences in Databases 149 An Algorithm for Mining Large Sequences in Databases Bharat Bhasker, Indian Institute of Management, Lucknow, India, bhasker@iiml.ac.in ABSTRACT Frequent sequence mining is a fundamental and essential

More information

CIS-331 Spring 2016 Exam 1 Name: Total of 109 Points Version 1

CIS-331 Spring 2016 Exam 1 Name: Total of 109 Points Version 1 Version 1 Instructions Write your name on the exam paper. Write your name and version number on the top of the yellow paper. Answer Question 1 on the exam paper. Answer Questions 2-4 on the yellow paper.

More information

CIS-331 Exam 2 Fall 2015 Total of 105 Points Version 1

CIS-331 Exam 2 Fall 2015 Total of 105 Points Version 1 Version 1 1. (20 Points) Given the class A network address 117.0.0.0 will be divided into multiple subnets. a. (5 Points) How many bits will be necessary to address 4,000 subnets? b. (5 Points) What is

More information

Sampling for Sequential Pattern Mining: From Static Databases to Data Streams

Sampling for Sequential Pattern Mining: From Static Databases to Data Streams Sampling for Sequential Pattern Mining: From Static Databases to Data Streams Chedy Raïssi LIRMM, EMA-LGI2P/Site EERIE 161 rue Ada 34392 Montpellier Cedex 5, France raissi@lirmm.fr Pascal Poncelet EMA-LGI2P/Site

More information

MAIDS: Mining Alarming Incidents from Data Streams

MAIDS: Mining Alarming Incidents from Data Streams MAIDS: Mining Alarming Incidents from Data Streams (Demonstration Proposal) Y. Dora Cai David Clutter Greg Pape Jiawei Han Michael Welge Loretta Auvil Automated Learning Group, NCSA, University of Illinois

More information

UAPRIORI: AN ALGORITHM FOR FINDING SEQUENTIAL PATTERNS IN PROBABILISTIC DATA

UAPRIORI: AN ALGORITHM FOR FINDING SEQUENTIAL PATTERNS IN PROBABILISTIC DATA UAPRIORI: AN ALGORITHM FOR FINDING SEQUENTIAL PATTERNS IN PROBABILISTIC DATA METANAT HOOSHSADAT, SAMANEH BAYAT, PARISA NAEIMI, MAHDIEH S. MIRIAN, OSMAR R. ZAÏANE Computing Science Department, University

More information

Frequent Patterns mining in time-sensitive Data Stream

Frequent Patterns mining in time-sensitive Data Stream Frequent Patterns mining in time-sensitive Data Stream Manel ZARROUK 1, Mohamed Salah GOUIDER 2 1 University of Gabès. Higher Institute of Management of Gabès 6000 Gabès, Gabès, Tunisia zarrouk.manel@gmail.com

More information

Part 2. Mining Patterns in Sequential Data

Part 2. Mining Patterns in Sequential Data Part 2 Mining Patterns in Sequential Data Sequential Pattern Mining: Definition Given a set of sequences, where each sequence consists of a list of elements and each element consists of a set of items,

More information

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY A PATH FOR HORIZING YOUR INNOVATIVE WORK REAL TIME DATA SEARCH OPTIMIZATION: AN OVERVIEW MS. DEEPASHRI S. KHAWASE 1, PROF.

More information

An Improved Apriori Algorithm for Association Rules

An Improved Apriori Algorithm for Association Rules Research article An Improved Apriori Algorithm for Association Rules Hassan M. Najadat 1, Mohammed Al-Maolegi 2, Bassam Arkok 3 Computer Science, Jordan University of Science and Technology, Irbid, Jordan

More information

CSE 5243 INTRO. TO DATA MINING

CSE 5243 INTRO. TO DATA MINING CSE 5243 INTRO. TO DATA MINING Mining Frequent Patterns and Associations: Basic Concepts (Chapter 6) Huan Sun, CSE@The Ohio State University 10/19/2017 Slides adapted from Prof. Jiawei Han @UIUC, Prof.

More information

Data Mining: Concepts and Techniques. Mining Frequent Patterns, Associations, and Correlations. Chapter 5.4 & 5.6

Data Mining: Concepts and Techniques. Mining Frequent Patterns, Associations, and Correlations. Chapter 5.4 & 5.6 Data Mining: Concepts and Techniques Mining Frequent Patterns, Associations, and Correlations Chapter 5.4 & 5.6 January 18, 2007 CSE-4412: Data Mining 1 Chapter 5: Mining Frequent Patterns, Association

More information

Data mining techniques for data streams mining

Data mining techniques for data streams mining REVIEW OF COMPUTER ENGINEERING STUDIES ISSN: 2369-0755 (Print), 2369-0763 (Online) Vol. 4, No. 1, March, 2017, pp. 31-35 DOI: 10.18280/rces.040106 Licensed under CC BY-NC 4.0 A publication of IIETA http://www.iieta.org/journals/rces

More information

Random Sampling over Data Streams for Sequential Pattern Mining

Random Sampling over Data Streams for Sequential Pattern Mining Random Sampling over Data Streams for Sequential Pattern Mining Chedy Raïssi LIRMM, EMA-LGI2P/Site EERIE 161 rue Ada 34392 Montpellier Cedex 5, France France raissi@lirmm.fr Pascal Poncelet EMA-LGI2P/Site

More information

Product presentations can be more intelligently planned

Product presentations can be more intelligently planned Association Rules Lecture /DMBI/IKI8303T/MTI/UI Yudho Giri Sucahyo, Ph.D, CISA (yudho@cs.ui.ac.id) Faculty of Computer Science, Objectives Introduction What is Association Mining? Mining Association Rules

More information

Nesnelerin İnternetinde Veri Analizi

Nesnelerin İnternetinde Veri Analizi Bölüm 4. Frequent Patterns in Data Streams w3.gazi.edu.tr/~suatozdemir What Is Pattern Discovery? What are patterns? Patterns: A set of items, subsequences, or substructures that occur frequently together

More information

Incremental updates of closed frequent itemsets over continuous data streams

Incremental updates of closed frequent itemsets over continuous data streams Available online at www.sciencedirect.com Expert Systems with Applications Expert Systems with Applications 36 (29) 2451 2458 www.elsevier.com/locate/eswa Incremental updates of closed frequent itemsets

More information

Chapter 1, Introduction

Chapter 1, Introduction CSI 4352, Introduction to Data Mining Chapter 1, Introduction Young-Rae Cho Associate Professor Department of Computer Science Baylor University What is Data Mining? Definition Knowledge Discovery from

More information

CIS-331 Exam 2 Fall 2014 Total of 105 Points. Version 1

CIS-331 Exam 2 Fall 2014 Total of 105 Points. Version 1 Version 1 1. (20 Points) Given the class A network address 119.0.0.0 will be divided into a maximum of 15,900 subnets. a. (5 Points) How many bits will be necessary to address the 15,900 subnets? b. (5

More information

SeqIndex: Indexing Sequences by Sequential Pattern Analysis

SeqIndex: Indexing Sequences by Sequential Pattern Analysis SeqIndex: Indexing Sequences by Sequential Pattern Analysis Hong Cheng Xifeng Yan Jiawei Han Department of Computer Science University of Illinois at Urbana-Champaign {hcheng3, xyan, hanj}@cs.uiuc.edu

More information

To Enhance Projection Scalability of Item Transactions by Parallel and Partition Projection using Dynamic Data Set

To Enhance Projection Scalability of Item Transactions by Parallel and Partition Projection using Dynamic Data Set To Enhance Scalability of Item Transactions by Parallel and Partition using Dynamic Data Set Priyanka Soni, Research Scholar (CSE), MTRI, Bhopal, priyanka.soni379@gmail.com Dhirendra Kumar Jha, MTRI, Bhopal,

More information

Appropriate Item Partition for Improving the Mining Performance

Appropriate Item Partition for Improving the Mining Performance Appropriate Item Partition for Improving the Mining Performance Tzung-Pei Hong 1,2, Jheng-Nan Huang 1, Kawuu W. Lin 3 and Wen-Yang Lin 1 1 Department of Computer Science and Information Engineering National

More information

An Algorithm for Frequent Pattern Mining Based On Apriori

An Algorithm for Frequent Pattern Mining Based On Apriori An Algorithm for Frequent Pattern Mining Based On Goswami D.N.*, Chaturvedi Anshu. ** Raghuvanshi C.S.*** *SOS In Computer Science Jiwaji University Gwalior ** Computer Application Department MITS Gwalior

More information

Basic Concepts: Association Rules. What Is Frequent Pattern Analysis? COMP 465: Data Mining Mining Frequent Patterns, Associations and Correlations

Basic Concepts: Association Rules. What Is Frequent Pattern Analysis? COMP 465: Data Mining Mining Frequent Patterns, Associations and Correlations What Is Frequent Pattern Analysis? COMP 465: Data Mining Mining Frequent Patterns, Associations and Correlations Slides Adapted From : Jiawei Han, Micheline Kamber & Jian Pei Data Mining: Concepts and

More information

Scalable Frequent Itemset Mining Methods

Scalable Frequent Itemset Mining Methods Scalable Frequent Itemset Mining Methods The Downward Closure Property of Frequent Patterns The Apriori Algorithm Extensions or Improvements of Apriori Mining Frequent Patterns by Exploring Vertical Data

More information

Time Series Analysis DM 2 / A.A

Time Series Analysis DM 2 / A.A DM 2 / A.A. 2010-2011 Time Series Analysis Several slides are borrowed from: Han and Kamber, Data Mining: Concepts and Techniques Mining time-series data Lei Chen, Similarity Search Over Time-Series Data

More information

CIS-331 Exam 2 Spring 2016 Total of 110 Points Version 1

CIS-331 Exam 2 Spring 2016 Total of 110 Points Version 1 Version 1 1. (20 Points) Given the class A network address 121.0.0.0 will be divided into multiple subnets. a. (5 Points) How many bits will be necessary to address 8,100 subnets? b. (5 Points) What is

More information

Mining Unusual Patterns by Multi-Dimensional Analysis of Data Streams

Mining Unusual Patterns by Multi-Dimensional Analysis of Data Streams Mining Unusual Patterns by Multi-Dimensional Analysis of Data Streams Jiawei Han Department of Computer Science University of Illinois at Urbana-Champaign Email: hanj@cs.uiuc.edu Abstract It has been popularly

More information

Interestingness Measurements

Interestingness Measurements Interestingness Measurements Objective measures Two popular measurements: support and confidence Subjective measures [Silberschatz & Tuzhilin, KDD95] A rule (pattern) is interesting if it is unexpected

More information

An Effective Process for Finding Frequent Sequential Traversal Patterns on Varying Weight Range

An Effective Process for Finding Frequent Sequential Traversal Patterns on Varying Weight Range 13 IJCSNS International Journal of Computer Science and Network Security, VOL.16 No.1, January 216 An Effective Process for Finding Frequent Sequential Traversal Patterns on Varying Weight Range Abhilasha

More information

Roadmap. PCY Algorithm

Roadmap. PCY Algorithm 1 Roadmap Frequent Patterns A-Priori Algorithm Improvements to A-Priori Park-Chen-Yu Algorithm Multistage Algorithm Approximate Algorithms Compacting Results Data Mining for Knowledge Management 50 PCY

More information

AN IMPROVISED FREQUENT PATTERN TREE BASED ASSOCIATION RULE MINING TECHNIQUE WITH MINING FREQUENT ITEM SETS ALGORITHM AND A MODIFIED HEADER TABLE

AN IMPROVISED FREQUENT PATTERN TREE BASED ASSOCIATION RULE MINING TECHNIQUE WITH MINING FREQUENT ITEM SETS ALGORITHM AND A MODIFIED HEADER TABLE AN IMPROVISED FREQUENT PATTERN TREE BASED ASSOCIATION RULE MINING TECHNIQUE WITH MINING FREQUENT ITEM SETS ALGORITHM AND A MODIFIED HEADER TABLE Vandit Agarwal 1, Mandhani Kushal 2 and Preetham Kumar 3

More information

Data Mining Part 3. Associations Rules

Data Mining Part 3. Associations Rules Data Mining Part 3. Associations Rules 3.2 Efficient Frequent Itemset Mining Methods Fall 2009 Instructor: Dr. Masoud Yaghini Outline Apriori Algorithm Generating Association Rules from Frequent Itemsets

More information

Discover Sequential Patterns in Incremental Database

Discover Sequential Patterns in Incremental Database Discover Sequential Patterns in Incremental Database Nancy P. Lin, Wei-Hua Hao, Hung-Jen Chen, Hao-En, and Chueh, Chung-I Chang Abstract The task of sequential pattern mining is to discover the complete

More information

TEMPORAL SEQUENTIAL PATTERN IN DATA MINING TASKS

TEMPORAL SEQUENTIAL PATTERN IN DATA MINING TASKS TEMPORAL SEQUENTIAL PATTERN Abstract IN DATA MINING TASKS DR. NAVEETA MEHTA Asst. Prof., MMICT&BM, M.M. University, Mullana navita80@gmail.com MS. SHILPA DANG Lecturer, MMICT&BM, M.M. University, Mullana

More information

A NOVEL ALGORITHM FOR MINING CLOSED SEQUENTIAL PATTERNS

A NOVEL ALGORITHM FOR MINING CLOSED SEQUENTIAL PATTERNS A NOVEL ALGORITHM FOR MINING CLOSED SEQUENTIAL PATTERNS ABSTRACT V. Purushothama Raju 1 and G.P. Saradhi Varma 2 1 Research Scholar, Dept. of CSE, Acharya Nagarjuna University, Guntur, A.P., India 2 Department

More information

Sequential Pattern Mining: A Survey on Issues and Approaches

Sequential Pattern Mining: A Survey on Issues and Approaches Sequential Pattern Mining: A Survey on Issues and Approaches Florent Masseglia AxIS Research Group INRIA Sophia Antipolis BP 93 06902 Sophia Antipolis Cedex France Phone number: (33) 4 92 38 50 67 Fax

More information

International Journal of Scientific Research and Reviews

International Journal of Scientific Research and Reviews Research article Available online www.ijsrr.org ISSN: 2279 0543 International Journal of Scientific Research and Reviews A Survey of Sequential Rule Mining Algorithms Sachdev Neetu and Tapaswi Namrata

More information

Frequent Pattern Mining in Data Streams. Raymond Martin

Frequent Pattern Mining in Data Streams. Raymond Martin Frequent Pattern Mining in Data Streams Raymond Martin Agenda -Breakdown & Review -Importance & Examples -Current Challenges -Modern Algorithms -Stream-Mining Algorithm -How KPS Works -Combing KPS and

More information

Mining Recent Frequent Itemsets in Data Streams with Optimistic Pruning

Mining Recent Frequent Itemsets in Data Streams with Optimistic Pruning Mining Recent Frequent Itemsets in Data Streams with Optimistic Pruning Kun Li 1,2, Yongyan Wang 1, Manzoor Elahi 1,2, Xin Li 3, and Hongan Wang 1 1 Institute of Software, Chinese Academy of Sciences,

More information

A Framework for Clustering Massive Text and Categorical Data Streams

A Framework for Clustering Massive Text and Categorical Data Streams A Framework for Clustering Massive Text and Categorical Data Streams Charu C. Aggarwal IBM T. J. Watson Research Center charu@us.ibm.com Philip S. Yu IBM T. J.Watson Research Center psyu@us.ibm.com Abstract

More information

Chapter 6: Basic Concepts: Association Rules. Basic Concepts: Frequent Patterns. (absolute) support, or, support. (relative) support, s, is the

Chapter 6: Basic Concepts: Association Rules. Basic Concepts: Frequent Patterns. (absolute) support, or, support. (relative) support, s, is the Chapter 6: What Is Frequent ent Pattern Analysis? Frequent pattern: a pattern (a set of items, subsequences, substructures, etc) that occurs frequently in a data set frequent itemsets and association rule

More information

An Evolutionary Algorithm for Mining Association Rules Using Boolean Approach

An Evolutionary Algorithm for Mining Association Rules Using Boolean Approach An Evolutionary Algorithm for Mining Association Rules Using Boolean Approach ABSTRACT G.Ravi Kumar 1 Dr.G.A. Ramachandra 2 G.Sunitha 3 1. Research Scholar, Department of Computer Science &Technology,

More information

COMP 465: Data Mining Still More on Clustering

COMP 465: Data Mining Still More on Clustering 3/4/015 Exercise COMP 465: Data Mining Still More on Clustering Slides Adapted From : Jiawei Han, Micheline Kamber & Jian Pei Data Mining: Concepts and Techniques, 3 rd ed. Describe each of the following

More information

Noval Stream Data Mining Framework under the Background of Big Data

Noval Stream Data Mining Framework under the Background of Big Data BULGARIAN ACADEMY OF SCIENCES CYBERNETICS AND INFORMATION TECHNOLOGIES Volume 16, No 5 Special Issue on Application of Advanced Computing and Simulation in Information Systems Sofia 2016 Print ISSN: 1311-9702;

More information

Keshavamurthy B.N., Mitesh Sharma and Durga Toshniwal

Keshavamurthy B.N., Mitesh Sharma and Durga Toshniwal Keshavamurthy B.N., Mitesh Sharma and Durga Toshniwal Department of Electronics and Computer Engineering, Indian Institute of Technology, Roorkee, Uttarkhand, India. bnkeshav123@gmail.com, mitusuec@iitr.ernet.in,

More information

CMPUT 391 Database Management Systems. Data Mining. Textbook: Chapter (without 17.10)

CMPUT 391 Database Management Systems. Data Mining. Textbook: Chapter (without 17.10) CMPUT 391 Database Management Systems Data Mining Textbook: Chapter 17.7-17.11 (without 17.10) University of Alberta 1 Overview Motivation KDD and Data Mining Association Rules Clustering Classification

More information

Association rules. Marco Saerens (UCL), with Christine Decaestecker (ULB)

Association rules. Marco Saerens (UCL), with Christine Decaestecker (ULB) Association rules Marco Saerens (UCL), with Christine Decaestecker (ULB) 1 Slides references Many slides and figures have been adapted from the slides associated to the following books: Alpaydin (2004),

More information

DISCOVERING ACTIVE AND PROFITABLE PATTERNS WITH RFM (RECENCY, FREQUENCY AND MONETARY) SEQUENTIAL PATTERN MINING A CONSTRAINT BASED APPROACH

DISCOVERING ACTIVE AND PROFITABLE PATTERNS WITH RFM (RECENCY, FREQUENCY AND MONETARY) SEQUENTIAL PATTERN MINING A CONSTRAINT BASED APPROACH International Journal of Information Technology and Knowledge Management January-June 2011, Volume 4, No. 1, pp. 27-32 DISCOVERING ACTIVE AND PROFITABLE PATTERNS WITH RFM (RECENCY, FREQUENCY AND MONETARY)

More information

Similarity Search in Time Series Databases

Similarity Search in Time Series Databases Similarity Search in Time Series Databases Maria Kontaki Apostolos N. Papadopoulos Yannis Manolopoulos Data Enginering Lab, Department of Informatics, Aristotle University, 54124 Thessaloniki, Greece INTRODUCTION

More information

Association Rules: Past, Present & Future. Ramakrishnan Srikant.

Association Rules: Past, Present & Future. Ramakrishnan Srikant. Association Rules: Past, Present & Future Ramakrishnan Srikant www.almaden.ibm.com/cs/people/srikant/ R. Srikant Talk Outline Association Rules { Motivation & Denition { Most Popular Computation Approach

More information

A Study on Mining of Frequent Subsequences and Sequential Pattern Search- Searching Sequence Pattern by Subset Partition

A Study on Mining of Frequent Subsequences and Sequential Pattern Search- Searching Sequence Pattern by Subset Partition A Study on Mining of Frequent Subsequences and Sequential Pattern Search- Searching Sequence Pattern by Subset Partition S.Vigneswaran 1, M.Yashothai 2 1 Research Scholar (SRF), Anna University, Chennai.

More information

Data warehouse and Data Mining

Data warehouse and Data Mining Data warehouse and Data Mining Lecture No. 14 Data Mining and its techniques Naeem A. Mahoto Email: naeemmahoto@gmail.com Department of Software Engineering Mehran Univeristy of Engineering and Technology

More information

What Is Data Mining? CMPT 354: Database I -- Data Mining 2

What Is Data Mining? CMPT 354: Database I -- Data Mining 2 Data Mining What Is Data Mining? Mining data mining knowledge Data mining is the non-trivial process of identifying valid, novel, potentially useful, and ultimately understandable patterns in data CMPT

More information

AC-Close: Efficiently Mining Approximate Closed Itemsets by Core Pattern Recovery

AC-Close: Efficiently Mining Approximate Closed Itemsets by Core Pattern Recovery : Efficiently Mining Approximate Closed Itemsets by Core Pattern Recovery Hong Cheng Philip S. Yu Jiawei Han University of Illinois at Urbana-Champaign IBM T. J. Watson Research Center {hcheng3, hanj}@cs.uiuc.edu,

More information

Data Mining Techniques

Data Mining Techniques Data Mining Techniques CS 6220 - Section 3 - Fall 2016 Lecture 16: Association Rules Jan-Willem van de Meent (credit: Yijun Zhao, Yi Wang, Tan et al., Leskovec et al.) Apriori: Summary All items Count

More information

CSE 5243 INTRO. TO DATA MINING

CSE 5243 INTRO. TO DATA MINING CSE 5243 INTRO. TO DATA MINING Mining Frequent Patterns and Associations: Basic Concepts (Chapter 6) Huan Sun, CSE@The Ohio State University Slides adapted from Prof. Jiawei Han @UIUC, Prof. Srinivasan

More information

Gateway Ascii Command Protocol

Gateway Ascii Command Protocol Gateway Ascii Command Protocol Table Of Contents Introduction....2 Ascii Commands.....3 Messages Received From The Gateway....3 Button Down Message.....3 Button Up Message....3 Button Maintain Message....4

More information

Mining of Web Server Logs using Extended Apriori Algorithm

Mining of Web Server Logs using Extended Apriori Algorithm International Association of Scientific Innovation and Research (IASIR) (An Association Unifying the Sciences, Engineering, and Applied Research) International Journal of Emerging Technologies in Computational

More information

Extended R-Tree Indexing Structure for Ensemble Stream Data Classification

Extended R-Tree Indexing Structure for Ensemble Stream Data Classification Extended R-Tree Indexing Structure for Ensemble Stream Data Classification P. Sravanthi M.Tech Student, Department of CSE KMM Institute of Technology and Sciences Tirupati, India J. S. Ananda Kumar Assistant

More information

SEQUENTIAL PATTERN MINING FROM WEB LOG DATA

SEQUENTIAL PATTERN MINING FROM WEB LOG DATA SEQUENTIAL PATTERN MINING FROM WEB LOG DATA Rajashree Shettar 1 1 Associate Professor, Department of Computer Science, R. V College of Engineering, Karnataka, India, rajashreeshettar@rvce.edu.in Abstract

More information

Sequential Pattern Mining: Concepts and Primitives. Mining Sequence Patterns in Transactional Databases

Sequential Pattern Mining: Concepts and Primitives. Mining Sequence Patterns in Transactional Databases 32 Chapter 8 Mining Stream, Time-Series, and Sequence Data 8.3 Mining Sequence Patterns in Transactional Databases A sequence database consists of sequences of ordered elements or events, recorded with

More information

Fast Accumulation Lattice Algorithm for Mining Sequential Patterns

Fast Accumulation Lattice Algorithm for Mining Sequential Patterns Proceedings of the 6th WSEAS International Conference on Applied Coputer Science, Hangzhou, China, April 15-17, 2007 229 Fast Accuulation Lattice Algorith for Mining Sequential Patterns NANCY P. LIN, WEI-HUA

More information

Fundamental Data Mining Algorithms

Fundamental Data Mining Algorithms 2018 EE448, Big Data Mining, Lecture 3 Fundamental Data Mining Algorithms Weinan Zhang Shanghai Jiao Tong University http://wnzhang.net http://wnzhang.net/teaching/ee448/index.html REVIEW What is Data

More information

Summarizing and mining inverse distributions on data streams via dynamic inverse sampling

Summarizing and mining inverse distributions on data streams via dynamic inverse sampling Summarizing and mining inverse distributions on data streams via dynamic inverse sampling Presented by Graham Cormode cormode@bell-labs.com S. Muthukrishnan muthu@cs.rutgers.edu Irina Rozenbaum rozenbau@paul.rutgers.edu

More information

Roadmap DB Sys. Design & Impl. Association rules - outline. Citations. Association rules - idea. Association rules - idea.

Roadmap DB Sys. Design & Impl. Association rules - outline. Citations. Association rules - idea. Association rules - idea. 15-721 DB Sys. Design & Impl. Association Rules Christos Faloutsos www.cs.cmu.edu/~christos Roadmap 1) Roots: System R and Ingres... 7) Data Analysis - data mining datacubes and OLAP classifiers association

More information

BCB 713 Module Spring 2011

BCB 713 Module Spring 2011 Association Rule Mining COMP 790-90 Seminar BCB 713 Module Spring 2011 The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Outline What is association rule mining? Methods for association rule mining Extensions

More information