Docsity

Closed Frequent Itemset Miner, Ejercicios de Física del Estado Sólido

Toggle sidebar
bg1
An Efficient Closed Frequent Itemset Miner
for the MOA Stream Mining System
Massimo Quadrana (UPC & Politecnico di Milano)
Albert Bifet (Yahoo! Research)
Ricard Gavald`a (UPC)
CCIA 2013, Vic, oct. 24th
M. Quadrana, A. Bifet, R. Gavald`a () Frequent Itemset Mining in MOA CCIA 2013, Vic, oct. 24th 1 / 23
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17

Vista previa parcial del texto

¡Descarga Closed Frequent Itemset Miner y más Ejercicios en PDF de Física del Estado Sólido solo en Docsity!

An Efficient Closed Frequent Itemset Miner

for the MOA Stream Mining System

Massimo Quadrana (UPC & Politecnico di Milano) Albert Bifet (Yahoo! Research) Ricard Gavald`a (UPC)

CCIA 2013, Vic, oct. 24th

Frequent Itemset Mining

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

Examples of Application

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

On Data Stream Mining

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

Massive Online Analysis (MOA)

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

Frequent Closed Itemsets

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)

Algorithms considered

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

The IncMine Algorithm [Cheng,Ke,Ng 08]

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]

Throughput

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

Memory usage

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.

Introducing Concept Drift

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

Reaction to Sudden Drift

T40I10kD1MP6 drifts to T50I10kD1MP6C05 dataset (Zaki’s IBM Datagen Software).

Reaction time grows linearly with window size

Analyzing MOVIELENS (I)

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

Analyzing MOVIELENS (II)

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).