















Prepara tus exámenes y mejora tus resultados gracias a la gran cantidad de recursos disponibles en Docsity
Gana puntos ayudando a otros estudiantes o consíguelos activando un Plan Premium
Esta página no es visible en la vista previa
¡No te pierdas las partes importantes!
















Massimo Quadrana (UPC & Politecnico di Milano) Albert Bifet (Yahoo! Research) Ricard Gavald`a (UPC)
CCIA 2013, Vic, oct. 24th
The model Fix a set of possible items An itemset is a set of items A sequence of itemsets is a transaction database
The frequent itemset mining problem Given a transaction database, find all the itemsets appearing (as a subset of) at least x% of transactions
E.g. In a supermarket, bread, butter, and jam often bought together x% = minimum support
Market Basket Analysis: Placement in shelves, pricing policies Click-streams in web pages Credit card bank fraud detection Real-time failure detection in sensor networks
Data arrive as a stream of itemsets at high speed Can’t store all of it, not even in secondary memory Each itemset can be processed once Needs to provide accurate answers at all times Data distribution evolves over time: Concept drift Mined itemsets must be created, revised, possibly dropped
Open-source environment for stream mining http://moa.cms.waikato.ac.nz/
Closely related to WEKA, also by U. of Waikato, New Zealand Java for portability and extendability Command line, GUI, and API interfaces Several classification and clustering algorithms over data streams No frequent pattern mining capabilities
Definition A frequent itemset X is closed if it has no frequent superset with the same support. For example, for minsupp = 3/6,
trans. ID items 1 abde 2 bce 3 abde 4 abce 5 abcde 6 bcd
abde is a frequent closed itemset (support = 3) abd is frequent, but not closed (abde has the same support)
Restricted to frequent closed itemset stream miners
Exact MOMENT [Chi+ 06], NEWMOMENT [Li+ 09], CLOSTREAM [Yen+ 11] High computational cost for exactness
Approximate IncMine [Cheng+ 08], CLAIM [Song+ 07] Maybe more efficient at the expense of false positives and/or negatives
Some features: Approximate algorithm, controlled by relaxation parameter Drops non-promising itemsets: may have false negatives Inverted FCI index to keep updated itemsets within window Requires a batch method for finding FCI in new batch → we chose CHARM [Zaki+ 02]
Average number of transactions processed per second IncMine (Java) is compared with MOMENT(C++)
Figure: Fixed minsupp. Variable relaxation rate
Figure: Variable minsupp. Fixed relaxation rate
Average memory consumption of the JVM Garbage collector skews results (no comparison with MOMENT) Lower minsupp, higher memory usage Larger window size, higher memory usage Static frequent closed itemset mining in batches is the most memory intensive task
σ Total Memory Usage(MB) Data Structures Size(MB) 0.02 225.2 23. 0.04 226.6 3. 0.06 217.8 0. 0.08 198.3 0. 0.10 187.2 0.
Given two concepts (streams), to introduce the drift we use a sigmoid probability function.
Figure: f (t) = 1/(1 + e−s(t−t^0 ))
Probability that a new instance of the stream belongs to the second concept. t 0 is the point of change s = 4/L, where L is the length of the change
T40I10kD1MP6 drifts to T50I10kD1MP6C05 dataset (Zaki’s IBM Datagen Software).
Reaction time grows linearly with window size
About 10 million ratings over 10681 movies by 71567 users Static data set for movie rating (from 29 Jan 1996 to 15 Aug 2007) Movies grouped by rating time (every 5 minutes) Transactions passed in ascending time to create a stream Stream of 620,000 transactions with average length 10. Results: Evolution of popular movies over time Unnoticed with static dataset analysis
date Frequent Itemsets 16 Jul 2001 Lord of the Rings: The Fellowship of the Ring, The (2001); Beautiful Mind, A (2001). Harry Potter and the Sorcerer’s Stone (2001); Lord of the Rings: The Fellowship of the Ring, The (2001). 23 Jul 2002 Spider-Man (2002); Star Wars: Episode II - Attack of the Clones (2002). Bourne Identity, The (2002); Minority Report (2002). 29 Dec 2002 Lord of the Rings: The Fellowship of the Ring, The (2001); Lord of the Rings: The Two Towers, The (2002). Minority Report (2002); Signs (2002). 15 Jul 2003 Lord of the Rings: The Fellowship of the Ring, The (2001); Lord of the Rings: The Two Towers, The (2002). Lord of the Rings: The Two Towers, The (2002); Pirates of the Caribbean: The Curse of the Black Pearl (2003).