12
Diagonally Subgraphs Pattern Mining Moti Cohen Ehud Gudes DMKD’04

Diagonally Subgraphs Pattern Mining

  • Upload
    aleda

  • View
    34

  • Download
    0

Embed Size (px)

DESCRIPTION

Diagonally Subgraphs Pattern Mining. Moti Cohen Ehud Gudes DMKD ’ 04. Introduction. Hybrid gSpan-DFS Code tree-based FSG – BFS Apriori Reverse Depth Search. V 0. X. a. V 1. c. Y. b. b. V 2. Z. V 3. X. b. V 4. X. Lexicographic Ordering in graphs. Minimum DFS Code. - PowerPoint PPT Presentation

Citation preview

Page 1: Diagonally Subgraphs Pattern Mining

Diagonally Subgraphs Pattern Mining

Moti Cohen Ehud GudesDMKD’04

Page 2: Diagonally Subgraphs Pattern Mining

Introduction

Hybrid gSpan-DFS Code tree-based FSG – BFS Apriori

Reverse Depth Search

Page 3: Diagonally Subgraphs Pattern Mining

Lexicographic Ordering in graphs

01XaY 12YbX 13YbZ 30ZcX 34ZbX

Minimum DFS Code

X

Y

Z

a

b

c

X

X

b

b

V0

V4

V3V2

V1

Page 4: Diagonally Subgraphs Pattern Mining

Algorithm

Prefix Based Lattice Reverse Depth Search

Page 5: Diagonally Subgraphs Pattern Mining

Graph database

X

Frequent1 edge: xax,xaz,xbx,xby,xbz,ycz

Page 6: Diagonally Subgraphs Pattern Mining

xby-prefix tid{1,2,3} F:{xby,xbz,ycz}

b

bx

y

xc

bx

y

z

cy

z

bx

z

bx

y

c

bx

y

z

c

z

b

bx

y

x

b

xcb

bx

y

x z

{<c1,ycz>}

{<c1,xby>}

{<c1,ycz>,<c2,ybx>}

cb

bx

y

x z

tid{1}tid{1,2}

Sup:1Sup:2

tid{1}tid{1,2}

Sup:0

tid{1,2} tid{1,2

}

Sup:1Sup:1

Sup:2Sup:2

Page 7: Diagonally Subgraphs Pattern Mining

Candidates Generation k+1

Join two frequent k-subgraphs Contain the same k-1-subgraph as core

Extension(k-1subgraph): {(ksub,extend edge),(),..,()} Join Ri and R with core Qj

Qj Subpatterns(R) Ri Extension(Qj)

Page 8: Diagonally Subgraphs Pattern Mining

extension

Page 9: Diagonally Subgraphs Pattern Mining

Freq. Anti-Monotone Pruning

all its k-subgraphs are frequent Massive computation

Partial FAM Almost as good as FAM

Drop gk+1candidates generated times < |subpattern(gk)|

Page 10: Diagonally Subgraphs Pattern Mining

Experiment

Intel 2.0GHz 256MB winxp vc++6.0

Page 11: Diagonally Subgraphs Pattern Mining

Synthetic minsup = 1%

Page 12: Diagonally Subgraphs Pattern Mining

Chemical Compound dataset