Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Outline
Introduction
Related work
Definition
An example
Introduction
Introduction
?
time
pc
printer
Ink ,paper
Introduction
Introduction
pc
printer
Ink ,paper
100
Related work
Definition
Definition .1 (frequent item)
An item x is called a frequent item in a sequence database DB if the supp ort of 1sequence <(x)> is greater than or equal to minsup.
Definition .2 (type-1, type-2 , prefix , stem)
itemset
Type
Type-1
< (a , b) >
Type-2
Definition
Definition .1 (frequent item)
An item x is called a frequent item in a sequence database DB if the supp ort of 1sequence <(x)> is greater than or equal to minsup.
Definition .2 (type-1, type-2 , prefix , stem)
itemset
Type
Type-1
< (a , b) >
Type-2
prefix
stem
Definition
Definition .3 ( it , lst , let )
Transaction
itemset
TIdx
T1
[1:1:1]
T2
[ 1:1:1 , 21:21:21 ]
[x:y:z]
Last end-time
initial-time
Last start-time
Definition
Definition .3 ( it , lst , let )
itemset
TIdx
( a) (b )
[ 1:2:2 ]
( a) (c )
[ 1:25:25 ]
[x:y:z]
Last end-time
initial-time
Last start-time
Definition
Time-constraints
swin = sliding time-window
mingap = minimum time gap
maxgap = maximum time gap
duration = constraint time window
Definition
Lemma .1 ( type1 )
leti + mingap VTP lsti + maxgap
Definition
Lemma .1 ( type1 )
leti + mingap VTP lsti + maxgap
Transaction
itemset
TIdx
C2
[ 10:17:17 ]
a,c
10
17
18
c ,d
24
Definition
Lemma .1 ( type1 )
leti + mingap VTP lsti + maxgap
Transaction
itemset
TIdx
C2
[ 10:17:17 ]
duration = 25
a,c
10
17
18
c ,d
24
35
Definition
Lemma .1 ( type1 )
leti + mingap VTP lsti + maxgap
Transaction
itemset
TIdx
C2
[ 10:17:17 ]
maxgap = 15
a,c
10
17
18
c ,d
24
32
35
Definition
Lemma .1 ( type1 )
leti + mingap VTP lsti + maxgap
Transaction
itemset
TIdx
C2
[ 10:17:17 ]
a,c
10
17
mingap = 3
20
c ,d
24
32
35
Definition
Lemma .1 ( type1 )
leti + mingap VTP lsti + maxgap
Transaction
itemset
TIdx
C2
[ 10:17:17 ]
a,c
10
17
VTP
20
32
35
Definition
Lemma .1 ( type1 )
leti + mingap VTP lsti + maxgap
a,c
10
17
VTP
20
32
35
Definition
Lemma .2 ( type2 )
leti - swin VTP minimum of { lsti + swin , iti + duration }
Definition
Lemma .2 ( type2 )
leti - swin VTP minimum of { lsti + swin , iti + duration }
Transaction
itemset
TIdx
C2
[ 10:17:17 ]
a,c
10
c ,d
17
24
35
Definition
Lemma .2 ( type2 )
leti - swin VTP minimum of { lsti + swin , iti + duration }
Ex: < (b) (e) >
Transaction
itemset
TIdx
C2
[ 10:17:17 ]
a,c
10
17
An example
Item
Support
C2
C3
C4
Tran, ID
sequences
C1
min_Sup=2
An example
min_Sup=2
<( a )> -TIdx
[ 5:5:5 , 31:31:31 ]
[ 6:6:6 , 18:18:18 ]
[ 5:5:5 ]
Time-constraints
swin = 2
mingap = 3
maxgap = 15
duration = 25
Tran, ID
sequences
C1
C2
C3
C4
An example
item
Tran, ID
C1
TIdx
sequences
a ,f
18
31
Time-constraints
swin = 2
mingap = 3
maxgap = 15
duration = 25
45
An example
item
Tran, ID
C1
TIdx
sequences
Time-constraints
swin = 2
mingap = 3
maxgap = 15
duration = 25
duration = 25
30
c
a ,f
18
31
45
An example
item
Tran, ID
C1
1.
TIdx
sequences
Time-constraints
swin = 2
mingap = 3
maxgap = 15
duration = 25
8 VTP 20
30
c
a ,f
18
31
45
An example
item
Tran, ID
C1
1.
TIdx
sequences
Time-constraints
swin = 2
mingap = 3
maxgap = 15
duration = 25
8 VTP 20
<( a )( b )> 1
30
c
a ,f
18
31
45
An example
item
Tran, ID
C1
TIdx
sequences
2.
Time-constraints
swin = 2
mingap = 3
maxgap = 15
duration = 25
3 VTP 7
a ,f
18
31
45
An example
item
Tran, ID
C1
TIdx
sequences
2.
Time-constraints
swin = 2
mingap = 3
maxgap = 15
duration = 25
3 VTP 7
<( a ,c )> 1
<( a ,f )> 1
a ,f
18
31
45
An example
item
Tran, ID
C1
TIdx
sequences
Time-constraints
swin = 2
mingap = 3
maxgap = 15
duration = 25
duration = 25
a ,f
18
31
45
56
An example
item
Tran, ID
C1
1.
TIdx
sequences
Time-constraints
swin = 2
mingap = 3
maxgap = 15
duration = 25
33 VTP 46
a ,f
18
31
45
56
An example
item
Tran, ID
C1
1.
TIdx
sequences
Time-constraints
swin = 2
mingap = 3
maxgap = 15
duration = 25
33 VTP 46
<( a )( f )> 1
a ,f
18
31
45
56
An example
item
Tran, ID
C1
TIdx
sequences
Time-constraints
swin = 2
mingap = 3
maxgap = 15
duration = 25
<( a )( b )> 1
<( a )( f )> 1
<( a ,c )> 1
a ,f
18
31
45
56
An example
sequences
TIdx
[ 6:6:6 , 18:18:18 ]
item Tran, ID
C2
1.
Time-constraints
swin = 2
mingap = 3
maxgap = 15
duration = 25
9 VTP 21
a ,c
c ,d
10
17
18
24
An example
item
Tran, ID
C2
1.
TIdx
sequences
Time-constraints
swin = 2
mingap = 3
maxgap = 15
duration = 25
9 VTP 21
<( a )( b )> 1
<( a )( e )> 1
<( a )( a )> 1
a ,c
c ,d
10
17
18
24
An example
item
Tran, ID
C2
2.
TIdx
sequences
Time-constraints
swin = 2
mingap = 3
maxgap = 15
duration = 25
4 VTP 8
<( a ,c )> 1
a ,c
c ,d
10
17
18
24
An example
item
Tran, ID
C2
1.
TIdx
sequences
Time-constraints
swin = 2
mingap = 3
maxgap = 15
duration = 25
21 VTP 33
<( a )( c )> 1
<( a )( d )> 1
a ,c
c ,d
10
17
18
24
An example
item
Tran, ID
C2
TIdx
sequences
Time-constraints
swin = 2
mingap = 3
maxgap = 15
duration = 25
<( a )( a )> 1
<( a )( b )> 1
<( a )( c )> 1
<( a )( d )> 1
<( a )( e )> 1
<( a ,c )> 1
a ,c
c ,d
10
17
18
24
An example
item
Tran, ID
sequences
TIdx
C4
[ 5:5:5 ]
1.
8 VTP 20
<( a )( d )> 1
c ,d
10
21
26
Time-constraints
swin = 2
mingap = 3
maxgap = 15
duration = 25
An example
min_Sup=2
Tran, ID
sequences
C1
C2
C3
C4
<( a )( a )> 1
<( a )( b )> 2
<( a )( c )> 1
<( a )( d )> 2
<( a )( e )> 1
<( a ,c )> 2
An example
min_Sup=2
Tran, ID
sequences
[ 3:3:5 ]
C1
[ 6:6:6]
C2
C3
C4
Time-constraints
swin = 2
mingap = 3
maxgap = 15
duration = 25
<( a ,c )( b)> 2
An example
min_Sup=2
Tran, ID
sequences
[ 3:3:18 ]
C1
[ 6:6:10]
C2
C3
C4
Time-constraints
swin = 2
mingap = 3
maxgap = 15
duration = 25
No more
patterns can be
formed
An example
Min_Sup=2
Frequent itemset
Frequent itemset
c
(c )( b)
Tran, ID
sequences
(a ,c)
C1
(a )( b)
C2
(a )( d)
C3
(a ,c)( b)
C4
Frequent itemset
b
(b )( a)
(b )( d)
(b )( e)
(b )( e)( d)
(c )( e)
(c )( b)( a)
Frequent itemset
d
Frequent itemset
e
(e )( d)
Conclusions