distributed information systems (csci 5533) presentation id: 19

16
Distributed Information Systems (CSCI 5533) Presentation ID: 19 Clustering Algorithm Submitted to: Dr. Liaw, Morris Submitted by: Kumar, Manoj

Upload: zona

Post on 06-Feb-2016

33 views

Category:

Documents


0 download

DESCRIPTION

Distributed Information Systems (CSCI 5533) Presentation ID: 19. Clustering Algorithm Submitted to: Dr. Liaw, Morris Submitted by: Kumar, Manoj. Algorithm 5.3 BEA. Input: AA : attribute affinity matrix Output: CA : clustered affinity matrix Begin { initialize; AA is an nxn matrix} - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Distributed Information Systems (CSCI 5533) Presentation ID: 19

Distributed Information Systems (CSCI 5533)

Presentation ID: 19

Clustering Algorithm

Submitted to: Dr. Liaw, Morris

Submitted by: Kumar, Manoj

Page 2: Distributed Information Systems (CSCI 5533) Presentation ID: 19

Algorithm 5.3 BEA

• Input: AA : attribute affinity matrix• Output: CA : clustered affinity matrix• Begin• { initialize; AA is an nxn matrix}• CA(*,1)← AA(*,1)• CA(*,2)← AA(*,2)• index ← 3• while index ≤ n do {choose the “best” location for

attribute AAindex }

Page 3: Distributed Information Systems (CSCI 5533) Presentation ID: 19

beginfor i from 1 to index – 1 by 1 do calculate cont (Ai-1, Aindex, Ai)end-forcalculate cont (Aindex-1, Aindex, Aindex+1)loc ← placement given by maximum cont valueFor j from index to loc by -1 do• CA(*,j)← CA(*,j-1)• end-for

Page 4: Distributed Information Systems (CSCI 5533) Presentation ID: 19

• CA(*,loc)← AA(*,index)• index ← index + 1• end-while• Order the rows according to the relative ordering

of columns• end. {BEA}

Page 5: Distributed Information Systems (CSCI 5533) Presentation ID: 19

• AM=

• AM=

• = ),(),(),(),( 11

111

jiji

n

ijij

n

ii

n

j

AAaffAAaffAAaffAAaff

)],(),(),(),([ 1111

jijijij

n

ji

n

i

AAaffAAaffAAaffAAaff

)],(),()[,( 1111

jijij

n

ji

n

i

AAaffAAaffAAaff

Page 6: Distributed Information Systems (CSCI 5533) Presentation ID: 19

• bond(Ax,Ay) =

• AM=

• A1 A2 ……. Ai-1 Ai Aj Aj+1…….. An• AM’ AM’’

)],(),([ 111

jjj

n

jj AAbondAAbond

),(),(1

yzx

n

zz AAaffAAaff

Page 7: Distributed Information Systems (CSCI 5533) Presentation ID: 19

• AMold = AM’ + AM’’ + bond(Ai-1,Ai) + bond(Ai,Aj) +bond(Aj,Ai) + bond(Aj,Aj+1)

• =

• +

• + 2bond(Ai,Aj)

)],(),([ 111

lll

n

ll AAbondAAbond

)],(),([ 112

lll

n

ill AAbondAAbond

Page 8: Distributed Information Systems (CSCI 5533) Presentation ID: 19

• AMnew = AM’ + AM’’ + bond(Ai,Ak) + bond(Ak,Ai) + bond(Ak,Aj)

• + bond(Aj,Ak)

• AMnew = AM’ + AM’’ + 2bond(Ai,Ak) + 2bond(Ak,Aj)

• Cont(Ai,Ak,Aj) = AMnew – Amold

• = 2bond(Ai,Ak) + 2bond(Ak,Aj) - 2bond(Ai,Aj)

Page 9: Distributed Information Systems (CSCI 5533) Presentation ID: 19
Page 10: Distributed Information Systems (CSCI 5533) Presentation ID: 19
Page 11: Distributed Information Systems (CSCI 5533) Presentation ID: 19
Page 12: Distributed Information Systems (CSCI 5533) Presentation ID: 19
Page 13: Distributed Information Systems (CSCI 5533) Presentation ID: 19
Page 14: Distributed Information Systems (CSCI 5533) Presentation ID: 19
Page 15: Distributed Information Systems (CSCI 5533) Presentation ID: 19
Page 16: Distributed Information Systems (CSCI 5533) Presentation ID: 19

• Questions ??