Download presentation
Presentation is loading. Please wait.
1
Maximize variance - is it wise?
FAUST CLUSTERING using distance dominated functional gap analysis. = jXj2 dj2 +2j<kXjXkdjdk - " = j=1..n(Xj2 - Xj2)dj2 + +(2j=1..n<k=1..n(XjXk - XjXk)djdk ) V(d)≡VarDPPd(X)= (Xod)2 - (Xod)2 = i=1..N(j=1..n xi,jdj)2 - ( j=1..nXj dj )2 N 1 = ijxi,j2dj2 + j<k xi,jxi,kdjdk - jXj2dj2 +2j<k XjXkdjdk 2 + jkajkdjdk V(d)=jajjdj2 subject to i=1..ndi2=1 dT o VX o d = VarDPPdX≡V V i XiXj-XiX,j : d dn V(d)=ijaijdidj = d1 dn ijaijdidj V(d) = x1 x2 xN x1od x2od xNod Xod=Fd(X)=DPPd(X) - (jXj dj) (kXk dk) = i(j xi,jdj) (k xi,kdk) Workhorse functional is DPPd(x). Which unit vector, d*, provides best gap(s)? 1. Exhaustive Search for d*: thru a grid of d's from unit sphere? (expensive?) 2. Use some heuristic search for d*? - Avoiding exhaustive search? : 2.1. GRAVY: GRAdient-based Variance optimization, Yet another 2.2. XCONDI? maximizes the maximum Consecutive Difference [gap]? 2.3. MEDEV: Use d that maxs |MedianF(X)-ExpectedvalueF(X)|. EVis easy to derive as a function of d, but the Median is not! (Can you do it?) MEDEV1: Heuristicate MedianF(X) with F(VectorOfMedians)=VOMod? MEDEV2: Heuirsticate entirely with D=VOM(X)MEAN(X), d=D/|D| V(d)= 2a11d1 +j1a1jdj 2a22d2 +j2a2jdj : 2anndn +jnanjdj do=ek s.t. akk is max or d0k=akk d1≡(V(d0)) d2≡(V(d1)) til F(dk) 2a a a1n 2a21 2a a2n ' 2an ann d1 di dn GRADIENT(V) = 2A o d Maximize variance - is it wise? median std variance mean consecutive differences avgCD maxCD |EV-median| Finding good unit vector, d, for Dot Prod functional, DPP. to maximize gaps = j=1..n Xjdj EV(DPPdX) =(1/N)i=1..Nj=1..n xi,jdj sub to i di2=1 Maximize wrt d, |Avg(DPPd(X)) - Median(DPPd(X)| = j (1/Ni xi,j ) dj Compute Median(DPPd(X)? Want to use only pTree processing. Want a formula in d and numbers only (like the one above for the mean (involves only the vector d and the numbers X1 ,..., Xn ) Heuristic: Use Vector of Medians for Median(DPPd(X) ExpVal-MEDIAN picks out last 2 sequences which have best gaps (discounting outlier gaps at the extremes) and it discards 1,3,4 which are not so good.
2
CONCRETE GRAVY MEDEV2 106405 0207 613481 3653akk
F-mn/8 gp4 on C2 65 1 F=C231 gp4 (F-MN)/8 56 2 ___ ___ [0,19) 17L 6M 0H F=C232 gp2 (F-MN)/8 51 1 akk d1 d2 d3 d4 V(d) ... F=X Ct gp4 (F-MN)/8 67 2 ... ___ ___ [0,5) L 2M 1H C2321 ___ ___ [5,16) L 4M 3H C2322 ___ ___ [0,16) 0L 8M 0H C21 ___ ___ [19,39) 13L 2M 0H ___ ___ [16,20) 1L 1M 4H C2323 ___ ___ [16,23) 0L 2M 0H C22 C23 ___ ___ [20,25) 3L 2M 18H C2324 ___ ___ [39,56) 2L 2M 0H ___ ___ [25,33) 4L 2M H C2325 ___ ___ [0,26) 0L 14M 0H C1 C2 ___ ___ [56,57) 0L 2M 0H ___ ___ [33,38) 0L 0M H C2326 ___ ___ [38,50) 0L 2M H C2327 ___ ___ [0,5) 2M outliers ___ ___ [50,52) 1L 0M H outliers MEDEV2 (F-)/4 gp4 123 1 ___ ___ [0 , 8) 0L 2M 0H outliers [12,16) 0L 1M 0H outliers [8,12) 0L 0M 1H outliers C23 gp3 (F-MN)/8 50 2 C11 F-)/4 Ct gp4 40 2 C111 F-)/4 Ct gp4 87 1 C1 F-)/4 gp4 ___ ___ [0,16) 1L outlr ___ ___ [16,27 1L 21M C111 [ 0,18) 0L 32M 13H C231 [18,48) 11L 13M 54H C232 ___ __ [27,38 1L 2M 20H C112 ___ ___ [0,23) 3L23M 49H C111 ___ __[38,45) 20H C113 ___ __[45,66) 5H C114 ___ ___ =66 5H C115 ___ ___ =87 1H outlier ___ ___ [23,40) 38L0M 4H C112 ___ ___ [5 ,56) 43L 33M 55H C1 ___ ___ [40,41) 2L 1M outliers ___ ___ [56,77) 7M C2 ___ ___ [16,82) 43L 23M 53H C11 ___ ___ [77,99) 4M C3 ___ ___ [82,90) 0L 2M 1H outliers ___ ___ [90,98) 0L 2M 0H outliesr ___ ___ =48 1H outlier =50 2M outliers MEDEV2: accuracy = 123/132 =93.1% GRAVY: accuracy=108/137 =78.8% ___ ___ [98107) 0L 1M 0H outlier ___ ___ [99123) 6M C4 ___ ___ [107,123) 0L 1M 0H outlier [123,124) 1H ol
3
GRAVY:16 errs accuracy 124/150=82.7%
IRIS GRAVY C2 ak d1 d2 d3 d4 V(d (F-MN)*3 Ct gp3 111 1 C23 (F-MN)*3 gp3 d1 d2 d3 d4 Vd.. 97 1 MEDEV2 C2 2(F-)gp4 91 1 ___ ___ [0,4) 1e C22 4(F-) gp4 F-MN Ct gp8 68 1 ak d1 d2 d3 d4 V(d F-MN Ct gp3 70 1 ___ ___ [4,9) 2e ___ ___ [0,6) 1e 0i ___ __[6,26) 2e 5i ___ ___ [0,20) 4e 1i C21 ___ ___ [0,23) 50s 1i C1 C2 ___ ___ [0,38) 18e ___ ___ [0,23) 50s 1i C1 ___ ___ [20,46) 19e 1i C22 ___ ___ [26,70) 16e 11i ___ ___ [7089) 6e ___ ___ [89, 98) 2e C221 8(F-) gp5 95 1 C221 29e 14i ___ ___ [38,86) ___ ___ [0,7) 1e ___ ___ [7,16) 2e ___ ___ [9,73) 47e 40i C22 ___ ___ 16,24 4e 1i ___ ___ [73,80) 0e 4i ___ ___ [80,84) 0e 1i ___ ___ [84,91) 0e 3i ___ ___ [89,92) 0e 1i ___ ___ [86,102 13i ___ ___ [23,61) 50e 40i C2 [61,71) 9i C3 ___ ___ [24,44) 9e ___ ___ [46,87) 27e 16i C23 ___ ___[44,69) 9e 2i ___ ___ [87,95) 9virg C24 ___ _[102,121) 13i GRAVY:16 errs accuracy 124/150=82.7% MEDEV2: 9 errs accuracy 141/150=94 % ___ ___ [95,106) 0e 8i C25 ___ ___ [106,109) 3i C26 ___ ___ [109,112) 3i C27 ___ ___ [69,95) 5e 10i ___ ___ [95,96) 1i
4
SEEDS GRAVY MEDEV2 GRAVY Accuracy 141/150 = 94 %
akk d1 d2 d3 d4 V(d 10(F-MN) Ct gp9 70 2 MEDEV2 10(F-MN)gp6 akk d1 d2 d3 d4 V(d 10(F-MN) Ct gp6 ___ ___ [0,9) 0k 0r 18c C1 ___ ___ [0,10) k 0r 0c ___ ___ [10,20) 2k 0r 1c ___ ___ [20,30) 2k 0r 1c ___ ___ [9,18) 1k 0r 24c C2 ___ ___ [30,40) 4k 0r 1c ___ ___ [0,9) 0k 0r 18c C1 ___ ___ [40,50) 0k 0r 1c C3 200(F-MN)gp12 ___ ___ [50,61) 0k 0r 1c ___ ___ [61,70) 0k 0r 1c ___ ___ [70,71) k 0r 2c ___ ___ [9,18) 1k 0r 24c C2 ___ ___ [18,29) 10k 0r 8c C3 ___ ___ [0,35) k 0r 0c ___ ___ [35,48) 2k 0r 3c C6 10(F-MN) gp12 48 1 akk d1 d2 d3 d4 V ___ ___ [48,72) 0k 0r 2c ___ ___ [29,38) 18k 0r 0c C4 ___ ___ [72,113) 0k 0r 3c ___ ___ [18,29) 10k 0r 8c C3 ___ ___ [0,22) 4k 0r 0c ___ ___ [38,49) 13k 2r 0c C5 ___ ___ [29,38) 18k 0r 0c C4 ___ ___ [22,49) 3k 6r 0c C6 200(F-MN)gp12 74 2 ___ ___ [49,60) 7k 6r 0c C6 ___ ___ [0,50) k 0r 0c ___ ___ [50,60) k 0r 2c ___ ___ [38,49) 13k 2r 0c C5 ___ ___ [60,71) 1k 7r 0c C7 ___ ___ [60,74) k 0r 3c ___ ___ [74,75) k 0r 1c ___ ___ [49,60) 7k 6r 0c C6 ___ ___ [71,80) 0k 8r 0c C8 ___ ___ [60,71) 1k 7r 0c C7 ___ ___ [80,92) 0k 21r 0c C9 ___ ___ [92,102) 0k 2r 0c Ca ___ ___ [71,80) 0k 8r 0c C8 ___ ___ [102,105) 0k 4r 0c Cb ___ ___ [80,92) 0k 21r 0c C9 ___ ___ [92,102) 0k 2r 0c Ca ___ ___ [102,105) 0k 4r 0c Cb GRAVY Accuracy 141/150 = 94 % MEDEV2 Accuracy 140/150 = 93.3%
5
MEDEV2 WINE GRAVY ACCURACY CONCRETE IRIS SEEDS WINE
F-MN Ct gp3 55 1 C11 F-MN Ct gp2 15 2 F-MN Ct gp8 (F-MN) gp8 C1(F-MN) gp3 55 2 ___ _ [0.12) 1L 0H ___ _ [0.5) 3L 2H ___ _ [12,28) 1L 2H ___ _ [0.5) 4L 2H ___ _ [5,8) 2L 1H ___ _ [8,10) 0L 2H ___ _ [28,46) 2L 6H ___ _[10,15) 3L 5H ___ _ [46,57) 2L 2H ___ _[15,16) 1L 1H ___ _ [5,23) 10L 13H C11 C12 C121 F-MN max thinning 17 4 ___ _ [0.10) 23L 25H [10,18) 6L 21H ___ _ [0.35) 38L 68H C11 C12 F-MN Ct gp2 31 1 ___ _ [35,53) 10L 13H C12 ___ _ [53,56) 3L 2H ___ _ [0.66) L 83H C1 ___ _ [0.18) 29L 46H C121 ___ _ [66,75) 2L 2H ___ _ [75,98) 2L 6H ___ _[18,28) 7L 19H ___ _ [57,115) 51L 83H C1 ___ _[28,31) 2L 2H ___ _[31,32) 0L 1H ___ _ [98,115) 2L 2H ACCURACY CONCRETE IRIS SEEDS WINE GRAVY MEDEV
6
APPENDIX Functional Gap Clustering using Fpq(x)=RND[(x-p)o(q-p)/|q-p|-minF] on Spaeth image (p=avg The 15 Value_Arrays (one for each q=z1,z2,z3,...) z z z z z z z z z za zb zc zd ze zf X x1 x a b =q f p d a b b c e c d a e 8 f 7 9 The 15 Count_Arrays z z z z z z z z z za zb zc zd ze zf Level0, stride=z1 PointSet (as a pTree mask) z1 z2 z3 z4 z5 z6 z7 z8 z9 za zb zc zd ze zf gap: [F=6, F=10] gap: [F=2, F=5] F=2 F=1 Fp=MN,q=z1=0 pTree masks of the 3 z1_clusters (obtained by ORing) z11 1 z12 1 z13 1 The FAUST algorithm: 1. project onto each pq line using the dot product with the unit vector from p to q. 2. Generate ValueArrays (also generate the CountArray and the mask pTrees). 3. Analyze all gaps and create sub-cluster pTree Masks.
7
Gap Revealer Width 24 so compute all pTree combinations down to p4 and p' d=M-p 1 z1 z z7 2 z z z8 3 z z z9 za M 6 7 zf zb a zc b zd ze c a b c d e f Z z z z z z z z z z za 13 4 zb 10 9 zc 11 10 zd 9 11 ze 11 11 zf 7 8 F=zod 11 27 23 34 53 80 118 114 125 110 121 109 83 p6 1 p5 1 p4 1 p3 1 p2 1 p1 1 p0 1 p6' 1 p5' 1 p4' 1 p3' 1 p2' 1 p1' 1 p0' 1 p= &p5' 1 C=3 p5' C=2 p5 C=8 &p4' 1 C=1 p4' p4 C=2 C=0 C=6 p6' 1 C=5 p6 C10 [ , ] = [ 48, 64). z5od=53 is 19 from z4od=34 (>24) but 11 from 64. But the next int [64,80) is empty z5 is 27 from its right nbr. z5 is declared an outlier and we put a subcluster cut thru z5 [ , ]= [0,15]=[0,16) has 1 point, z1. This is a 24 thinning. z1od=11 is only 5 units from the right edge, so z1 is not declared an outlier) Next, we check the min dis from the right edge of the next interval to see if z1's right-side gap is actually 24 (the calculation of the min is a pTree process - no x looping required!) [ , ] = [16,32). The minimum, z3od=23 is 7 units from the left edge, 16, so z1 has only a 5+7=12 unit gap on its right (not a 24 gap). So z1 is not declared a 24 (and is declared a 24 inlier). [ , ] = [32,48). z4od=34 is within 2 of 32, so z4 is not declared an anomaly. [ , ]= [112,128) z7od=118 z8od=114 z9od=125 zaod=114 zcod=121 zeod=125 No 24 gaps. But we can consult SpS(d2(x,y) for actual distances: [ , ]= [64, 80). This is clearly a 24 gap. [ , ]= [80, 96). z6od=80, zfod=83 [ , ]= [96,112). zbod=110, zdod=109. So both {z6,zf} declared outliers (gap16 both sides. Which reveals that there are no 24 gaps in this subcluster. And, incidentally, it reveals a 5.8 gap between {7,8,9,a} and {b,c,d,e} but that analysis is messy and the gap would be revealed by the next xofM round on this sub-cluster anyway. X1 X2 dX1X2 z7 z z7 z z7 z z7 z z7 z z7 z z7 z z8 z z8 z z8 z z8 z z8 z z8 z X1 X2 dX1X2 z9 z z9 z z9 z z9 z z9 z z10 z z10 z z10 z z10 z X1 X2 dX1X2 z11 z z11 z z11 z z12 z z12 z z13 z
8
Barrel Clustering: (This method attempts to build barrel-shaped gaps around clusters)
q Allows for a better fit around convex clusters that are elongated in one direction (not round). Gaps in dot product lengths [projections] on the line. Exhaustive Search for all barrel gaps: It takes two parameters for a pseudo- exhaustive search (exhaustive modulo a grid width). 1. A StartPoint, p (an n-vector, so n dimensional) 2. A UnitVector, d (a n-direction, so n-1 dimensional - grid on the surface of sphere in Rn). Then for every choice of (p,d) (e.g., in a grid of points in R2n-1) two functionals are used to enclose subclusters in barrel shaped gaps. a. SquareBarrelRadius functional, SBR(y) = (y-p)o(y-p) - ((y-p)od)2 b. BarrelLength functional, BL(y) = (y-p)od y barrel cap gap width Given a p, do we need a full grid of ds (directions)? No! d and -d give the same BL-gaps. Given d, do we need a full grid of p starting pts? No! All p' s.t. p'=p+cd give same gaps. Hill climb gap width from a good starting point and direction. MATH: Need dot product projection length and dot product projection distance (in red). p barrel radius gap width squared is y - (yof) fof f o y - f y y - f |f| yo = y - (yof) fof f squared = yoy - 2 (yof)2 fof fof (fof)2 Squared y on f Proj Dis = yoy - (yof)2 fof dot product projection distance squared = yoy - 2 (yof)2 fof + yo dot prod proj len f |f| Squared y-p on q-p Projection Distance = (y-p)o(y-p) - ( (y-p)o(q-p) )2 (q-p)o(q-p) 1st = yoy -2yop + pop - ( yo(q-p) - p o(q-p |q-p| 2 M-p |M-p| (y-p)o For the dot product length projections (caps) we already needed: = ( yo(M-p) - po M-p ) That is, we needed to compute the green constants and the blue and red dot product functionals in an optimal way (and then do the PTreeSet additions/subtractions/multiplications). What is optimal? (minimizing PTreeSet functional creations and PTreeSet operations.)
9
Cone Clustering: (finding cone-shaped clusters)
x=s2 cone=.1 39 2 40 1 41 1 44 1 45 1 46 1 47 1 i39 59 2 60 4 61 3 62 6 63 10 64 10 65 5 66 4 67 4 69 1 70 1 59 w maxs-to-mins cone=.939 i25 i40 i16 i42 i17 i38 i11 i48 22 2 23 1 i34 i50 i24 i28 i27 27 5 28 3 29 2 30 2 31 3 32 4 34 3 35 4 36 2 37 2 38 2 39 3 40 1 41 2 46 1 47 2 48 1 i39 53 1 54 2 55 1 56 1 57 8 58 5 59 4 60 7 61 4 62 5 63 5 64 1 65 3 66 1 67 1 68 1 114 14 i and 100 s/e. So picks i as 0 w naaa-xaaa cone=.95 12 1 13 2 14 1 15 2 16 1 17 1 18 4 19 3 20 2 21 3 22 5 i21 24 5 25 1 27 1 28 1 29 2 i7 41/43 e so picks e Corner points Gap in dot product projections onto the cornerpoints line. x=s1 cone=1/√2 60 3 61 4 62 3 63 10 64 15 65 9 66 3 67 1 69 2 50 x=s2 cone=1/√2 47 1 59 2 60 4 61 3 62 6 63 10 64 10 65 5 66 4 67 4 69 1 70 1 51 x=s2 cone=.9 59 2 60 3 61 3 62 5 63 9 64 10 65 5 66 4 67 4 69 1 70 1 47 Cosine cone gap (over some angle) w maxs cone=.707 0 2 8 1 10 3 12 2 13 1 14 3 15 1 16 3 17 5 18 3 19 5 20 6 21 2 22 4 23 3 24 3 25 9 26 3 27 3 28 3 29 5 30 3 31 4 32 3 33 2 34 2 35 2 36 4 37 1 38 1 40 1 41 4 42 5 43 5 44 7 45 3 46 1 47 6 48 6 49 2 51 1 52 2 53 1 55 1 137 w maxs cone=.93 8 1 i10 13 1 14 3 16 2 17 2 18 1 19 3 20 4 21 1 24 1 25 4 e21 e34 27 2 29 2 i7 27/29 are i's F=(y-M)o(x-M)/|x-M|-mn restricted to a cosine cone on IRIS w aaan-aaax cone=.54 7 3 i27 i28 8 1 9 3 i20 i34 11 7 12 13 13 5 14 3 15 7 19 1 20 1 21 7 22 7 23 28 24 6 100/104 s or e so 0 picks i x=i1 cone=.707 34 1 35 1 36 2 37 2 38 3 39 5 40 4 42 6 43 2 44 7 45 5 47 2 48 3 49 3 50 3 51 4 52 3 53 2 54 2 55 4 56 2 57 1 58 1 59 1 60 1 61 1 62 1 63 1 64 1 66 1 75 x=e1 cone=.707 33 1 36 2 37 2 38 3 39 1 40 5 41 4 42 2 43 1 44 1 45 6 46 4 47 5 48 1 49 2 50 5 51 1 52 2 54 2 55 1 57 2 58 1 60 1 62 1 63 1 64 1 65 2 60 Cosine conical gapping seems quick and easy (cosine = dot product divided by both lengths. Length of the fixed vector, x-M, is a one-time calculation. Length y-M changes with y so build the PTreeSet. w maxs cone=.925 8 1 i10 13 1 14 3 16 3 17 2 18 2 19 3 20 4 21 1 24 1 25 5 e21 e34 27 2 28 1 29 2 e35 i7 31/34 are i's w xnnn-nxxx cone=.95 8 2 i22 i50 10 2 i28 i24 i27 i34 13 2 14 4 15 3 16 8 17 4 18 7 19 3 20 5 21 1 22 1 23 1 i39 43/50 e so picks out e
10
FAUST Classifier Pr=P(xod)<a Pv=P(xod)a
Separate classr, classv using midpoints of means: Pr=P(xod)<a Pv=P(xod)a Set a = (mR+(mV-mR)/2)od = (mR+mV)/2 o d ? where D≡ mRmV d=D/|D| Training amounts to choosing the Cut hyperplane = (n-1)-dimensionl hyperplane (and thus cuts the space in two). Classify with one horizontal program (AND/OR) across the pTrees to get a mask pTree for each class (bulk classification). Improve accuracy? e.g., by considering the dispersion within classes. Use 1. vector_of_medians: (vomv≡ (median(v1), median(v2),...)) instead of means; then use stdev ratio to place the cut. 2. Cut at Midpt of Max{rod}, Min{vod}. If there is no gap, move Cut until r_errors + v_errors is minimized. 3. Hill-climb d to maximize gap (or minimize errors when applied to the training set). 4. Replace mr, mv with the avg of the margin points? 5. Round classes expected? use SDmr < |D|/2 for r-class and SDmv <|D|/2 for v-class. dim 2 vomR vomV r r vv r mR r v v v v r r v mV v r v v r v v2 v1 d-line dim 1 d a
11
2/2/13 Datamining Big Data big data: up to trillions of rows (or more) and, possibly, thousands of columns (or many more). I structure data vertically (pTrees) and process it horizontally. Looping across thousands of columns can be orders of magnitude faster than looping down trillions of rows. So sometimes that means a task can be done in human time only if the data is vertically organized. Data mining is [largely] CLASSIFICATION or PREDICTION (assigning a class label to a row based on a training set of classified rows). What about clustering and ARM? They are important and related! Roughly clustering creates/improves training sets and ARM is used to data mine more complex data (e.g., relationship matrixes, etc.). CLASSIFICATION is [largely] case-based reasoning. To make a decision we typically search our memory for similar situations (near neighbor cases) and base our decision on the decisions we made in those cases (we do what worked before for us or others). We let near neighbors vote. "The Magical Number Seven, Plus or Minus Two... Information"[2] cited to argue that the number of objects (contexts) an average human can hold in working memory is 7 ± 2. We can think of classification as providing a better 7 (so it's decision support, not decision making). One can say that all Classification methods (even model based ones) are a form of Near Neighbor Classification. E.g. in Decision Tree Induction (DTI) the classes at the bottom of a decision branch ARE the Near Neighbor set due to the fact that the sample arrived at that leaf. Rows of an entity table (e.g., Iris(SL,SW,PL,PW) or Image(R,G,B) describe instances of the entity (Irises or Image pixels). Columns are descriptive information on the row instances (e.g., Sepal Length, Sepal Width, Pedal Length, Pedal Width or Red, Green, Blue photon counts). If the table consists entirely of real numbers, then the row set can be viewed [as s subset of] a real vector space with dimension = # of columns. Then, the notion of "near" [in classification and clustering] can be defined using a dissimilarity (~distance) or a similarity. Two rows are near if the distance between them is low or their similarity is high. Near for columns can be defined using a correlation (e.g., Pearson's, Spearman's...) If the columns also describe instances of an entity then the table is really a matrix or relationship between instances of the row entity and the column entity. Each matrix cell measures some attribute of that relationship pair (The simplest: 1 if that row is related to that column, else 0. The most complex: an entire structure of data describing that pair (that row instance and that column instance). In Market Basket Research (MBR), the row entity is customers and the columnis items. Each cell: 1 iff that customer has that item in the basket. In Netflix Cinematch, the row entity is customers and column movies and each cell has the 5-star rating that customer gave to that movie. In Bioinformatics the row entity might be experiments and the column entity might be genes and each cell has the expression level of that gene in that experiment or the row and column entities might both be proteins and each cell has a 1-bit iff the two proteins interact in some way. In Facebook the rows might be people and the columns might also be people (and a cell has a one bit iff the row and column persons are friends) Even when the table appears to be a simple entity table with descriptive feature columns, it may be viewable as a relationship between 2 entities. E.g., Image(R,B,G) is a table of pixel instances with columns, R,G,B. The R-values count the photons in a "red" frequency range detected at that pixel over an interval of time. That red frequency range is determined more by the camera technology than by any scientific definition. If we had separate CCD cameras that could count photons in each of a million very thin adjacent frequency intervals, we could view the column values of that image as instances a frequency entity, Then the image would be a relationship matrix between the pixel and the frequency entities. So an entity table can often be usefully viewed as a relationship matrix. If so, it can also be rotated so that the former column entity is now viewed as the new row entity and the former row entity is now viewed as the new set of descriptive columns. The bottom line is that we can often do data mining on a table of data in many ways: as an entity table (classification and clustering), as a relationship matrix (ARM) or upon rotation that matrix, as another entity table. For a rotated entity table, the concepts of nearness that can be used also rotate (e.g., The cosine correlation of two columns morphs into the cosine of the angle between 2 vectors as a row similarity measure.)
12
DBs, DWs are merging as In-memory DBs:
SAP® In-Memory Computing Enabling Real-Time Computing SAP® In-Memory enables real-time computing by bringing together online transaction proc. OLTP (DB) and online analytical proc. OLAP (DW). Combining advances in hardware technology with SAP InMemory Computing empowers business – from shop floor to boardroom – by giving real-time bus. proc. instantaneous access to data-eliminating today’s info lag for your business. In-memory computing is already under way. The question isn’t if this revolution will impact businesses but when/ how. In-memory computing won’t be introduced because a co. can afford the technology. It will be because a business cannot afford to allow its competitors to adopt the it first. Total cost is 30% lower than traditional RDBMSs due to: • Leaner hardware, less system capacity req., as mixed workloads of analytics, operations, performance mgmt is in a single system, which also reduces redundant data storage. [[Back to a single DB rather than a DB for TP and a DW for boardroom dec. sup.]] • Less extract transform load (ETL) between systems and fewer prebuilt reports, reducing support required to run sofwr. Report runtime improvements of up to 1000 times. Compression rates of up to a 10 times. Performance improvements expected even higher in SAP apps natively developed for inmemory DBs. Initial results: a reduction of computing time from hours to seconds. However, in-memory computing will not eliminate the need for data warehousing. Real-time reporting will solve old challenges and create new opportunities, but new challenges will arise. SAP HANA 1.0 software supports realtime database access to data from the SAP apps that support OLTP. Formerly, operational reporting functionality was transferred from OLTP applications to a data warehouse. With in-memory computing technology, this functionality is integrated back into the transaction system. Product managers will still look at inventory and point-of-sale data, but in the future they will also receive,eg., tell customers broadcast dissatisfaction with a product over Twitter. Or they might be alerted to a negative product review released online that highlights some unpleasant product features requiring immediate action. From the other side, small businesses running real-time inventory reports will be able to announce to their Facebook and Twitter communities that a high demand product is available, how to order, and where to pick up. Bad movies have been able to enjoy a great opening weekend before crashing 2nd weekend when negative word-of-mouth feedback cools enthusiasm. That week-long grace period is about to disappear for silver screen flops. Consumer feedback won’t take a week, a day, or an hour. The very second showing of a movie could suffer from a noticeable falloff in attendance due to consumer criticism piped instantaneously through the new technologies. It will no longer be good enough to have weekend numbers ready for executives on Monday morning. Executives will run their own reports on revenue, Twitter their reviews, and by Monday morning have acted on their decisions. Adopting in-memory computing results in an uncluttered arch based on a few, tightly aligned core systems enabled by service-oriented architecture (SOA) to provide harmonized, valid metadata and master data across business processes. Some of the most salient shifts and trends in future enterprise architectures will be: • A shift to BI self-service apps like data exploration, instead of static report solutions. • Central metadata and masterdata repositories that define the data architecture, allowing data stewards to work across all business units and all platforms Real-time in-memory computing technology will cause a decline Structured Query Language (SQL) satellite databases. The purpose of those databases as flexible, ad hoc, more business-oriented, less IT-static tools might still be required, but their offline status will be a disadvantage and will delay data updates. Some might argue that satellite systems with in-memory computing technology will take over from satellite SQL DBs. SAP Business Explorer tools that use in-memory computing technology represent a paradigm shift. Instead of waiting for IT to work on a long queue of support tickets to create new reports, business users can explore large data sets and define reports on the fly. Here is sample of what in-memory computing can do for you: • Enable mixed workloads of analytics, operations, and performance management in a single software landscape. • Support smarter business decisions by providing increased visibility of very large volumes of business information • Enable users to react to business events more quickly through real-time analysis and reporting of operational data. • Deliver innovative real-time analysis and reporting. • Streamline IT landscape and reduce total cost of ownership. In manufacturing enterprises, in-memory computing tech will connect the shop floor to the boardroom, and the shop floor associate will have instant access to the same data as the board [[shop floor = daily transaction processing. Boardroom = executive data mining]]. The shop floor will then see the results of their actions reflected immediately in the relevant Key Performance Indicators (KPI). SAP BusinessObjects Event Insight software is key. In what used to be called exception reporting, the software deals with huge amounts of realtime data to determine immediate and appropriate action for a real-time situation. The final example is from the utilities industry: The most expensive energy a utilities provides is energy to meet unexpected demand during peak periods of consumption. If the company could analyze trends in power consumption based on real-time meter reads, it could offer – in real time – extra low rates for the week or month if they reduce their consumption during the following few hours. This advantage will become much more dramatic when we switch to electric cars; predictably, those cars are recharged the minute the owners return home from work. Hardware: blade servers and multicore CPUs and memory capacities measured in terabytes. Software: in-memory database with highly compressible row / column storage designed to maximize in-memory comp. tech. [[Both row and column storage! They convert to column-wise storage only for Long-Lived-High-Value data?]] Parallel processing takes place in the database layer rather than in the app layer - as it does in the client-server arch.
13
IRIS(SL,SW,PL,PW) DPPMinVec,MaxVEC
ID PL PW SL DPP s s s s s s s s s s s s s s s s s s s s s s s s s s s s s s s s s s s s s s s s s s s s s s s s s s e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e set set set set set set set set set set set set set set set set set set set set set set set set set set set set set set set set set set set set set set set set set set set set set set set set ver ver ver ver ver ver ver ver ver ver ver ver ver ver ver ver ver ver ver ver ver ver ver ver ver ver ver ver ver ver ver ver ver ver ver ver ver ver ver ver ver ver ver ver ver ver ver ver ver ver IRIS(SL,SW,PL,PW) DPPMinVec,MaxVEC vir vir vir vir vir vir vir vir vir vir vir vir vir vir vir vir vir vir vir vir vir vir vir vir vir vir vir vir vir vir vir vir vir vir vir vir vir vir vir vir vir vir vir vir vir vir vir vir vir i i i i i i i i i i i i i i i i i i i e i i i i i i i i i i i
14
"Gap Hill Climbing": mathematical analysis
One way to increase the size of the functional gaps is to hill climb the standard deviation of the functional, F (hoping that a "rotation" of d toward a higher STDev would increase the likelihood that gaps would be larger ( more dispersion allows for more and/or larger gaps). We can also try to grow one particular gap or thinning using support pairs as follows: F-slices are hyperplanes (assuming F=dotd) so it would makes sense to try to "re-orient" d so that the gap grows. Instead of taking the "improved" p and q to be the means of the entire n-dimensional half-spaces which is cut by the gap (or thinning), take as p and q to be the means of the F-slice (n-1)-dimensional hyperplanes defining the gap or thinning. This is easy since our method produces the pTree mask of each F-slice ordered by increasing F-value (in fact it is the sequence of F-values and the sequence of counts of points that give us those value that we use to find large gaps in the first place.). The d2-gap is much larger than the d1=gap. It is still not the optimal gap though. Would it be better to use a weighted mean (weighted by the distance from the gap - that is weighted by the d-barrel radius (from the center of the gap) on which each point lies?) In this example it seems to make for a larger gap, but what weightings should be used? (e.g., 1/radius2) (zero weighting after the first gap is identical to the previous). Also we really want to identify the Support vector pair of the gap (the pair, one from one side and the other from the other side which are closest together) as p and q (in this case, 9 and a but we were just lucky to draw our vector through them.) We could check the d-barrel radius of just these gap slice pairs and select the closest pair as p and q??? d1 d1-gap a b c d e f f e d c b a 9 8 7 6 a j k l m n b c q r s d e f o p g h i d1 d1-gap =p q= a b c d e f f e d c b a 9 8 7 6 a j k b c q d e f 2 1 d2 d2-gap p q d2 d2-gap
15
HILL CLIMBING GAP WIDTH
On CLUS2unionCLUS3 p=avg<16 q=avg>16 0 1 1 1 2 2 3 1 7 2 9 2 10 2 11 3 12 3 13 2 14 5 15 1 16 3 17 3 18 2 19 2 20 4 21 5 22 2 23 5 24 9 25 1 26 1 27 3 28 2 29 1 30 3 31 5 32 2 33 3 34 3 35 1 36 2 37 4 38 1 39 1 42 2 44 1 45 2 47 2 CL123 p is avg=14 q is avg=17 0 1 2 3 3 2 4 4 5 7 6 4 7 8 8 2 9 11 10 4 12 3 13 1 20 1 21 1 22 2 23 1 27 2 28 1 29 1 30 2 31 4 32 2 33 3 34 4 35 1 36 3 37 4 38 2 39 2 40 5 41 3 42 3 43 6 44 8 45 1 46 2 47 1 48 3 49 3 51 7 52 2 53 2 54 3 55 1 56 3 57 3 58 1 61 2 63 2 64 1 66 1 67 1 No conclusive gaps Sparse Lo end: Check [0,9] i39 e49 e8 e44 e11 e32 e30 e15 e31 i e e e e e e e e i39,e49,e11 singleton outliers. {e8,i44} doubleton outlier set Dot F p=aaan q=aaax 0 6 1 28 2 7 3 7 4 1 5 1 9 7 10 3 11 5 12 13 13 8 14 12 15 4 16 2 17 12 18 5 19 6 20 6 21 3 22 8 23 3 24 3 CLUS1< (50 Set) 7 <CLUS2< (4 Virg, 48 Vers) Here, the gap between CLUS1 and CLUS2 is made more pronounced???? (Why?) But the thinning between CLUS2 and CLUS3 seems even more obscure??? Although this doesn't prove anything, it is not good news for the method! It did not grow the gap we wanted to grow (between CLUSTER2 and CLUSTER3. There is a thinning at 22 and it is the same one but it is not more prominent. Next we attempt to hill-climb the gap at 16 using the mean of the half-space boundary. (i.e., p is avg=14; q is avg=17. CLUS3> (46 Virg, 2 Vers) Sparse Hi end: Check [38,47] distances i31 i8 i36 i10 i6 i23 i32 i18 i19 i i i i i i i i i i10,i18,i19,i32,i36 singleton outliers {i6,i23} doubleton outlier Next we attempt to hill-climb the gap at 16 using the half-space averages.
16
CAINE 2013 Call for Papers th International Conference on Computer Applications in Industry and Engineering September 25{27, 2013, Omni Hotel, Los Angles, Califorria, USA Sponsored by the International Society for Computers and Their Applications (ISCA) CAINE{2013 will feature contributed papers as well as workshops and special sessions. Papers will be accepted into oral presentation sessions. The topics will include, but are not limited to, the following areas: Agent-Based Systems Image/Signal Processing Autonomous Systems Information Assurance Big Data Analytics Information Systems/Databases Bioinformatics, Biomedical Systems/Engineering Internet and Web-Based Systems Computer-Aided Design/Manufacturing Knowledge-based Systems Computer Architecture/VLSI Mobile Computing Computer Graphics and Animation Multimedia Applications Computer Modeling/Simulation Neural Networks Computer Security Pattern Recognition/Computer Vision Computers in Education Rough Set and Fuzzy Logic Computers in Healthcare Robotics Computer Networks Fuzzy Logic Control Systems Sensor Networks Data Communication Scientic Computing Data Mining Software Engineering/CASE Distributed Systems Visualization Embedded Systems Wireless Networks and Communication Important Dates: Workshop/special session proposal . . May 2.5, Full Paper Submis . .June 5, Notice Accept ..July.5 , 2013. Pre-registration & Camera-Ready Paper Due August 5, Event Dates . . .Sept 25-27, 2013 SEDE Conf is interested in gathering researchers and professionals in the domains of SE and DE to present and discuss high-quality research results and outcomes in their fields. SEDE 2013 aims at facilitating cross-fertilization of ideas in Software and Data Engineering, The conference topics include, but not limited to: . Requirements Engineering for Data Intensive Software Systems. Software Verification and Model of Checking. Model-Based Methodologies. Software Quality and Software Metrics. Architecture and Design of Data Intensive Software Systems. Software Testing. Service- and Aspect-Oriented Techniques. Adaptive Software Systems . Information System Development. Software and Data Visualization. Development Tools for Data Intensive. Software Systems. Software Processes. Software Project Mgnt . Applications and Case Studies. Engineering Distributed, Parallel, and Peer-to-Peer Databases. Cloud infrastructure, Mobile, Distributed, and Peer-to-Peer Data Management . Semi-Structured Data and XML Databases. Data Integration, Interoperability, and Metadata. Data Mining: Traditional, Large-Scale, and Parallel. Ubiquitous Data Management and Mobile Databases. Data Privacy and Security. Scientific and Biological Databases and Bioinformatics. Social networks, web, and personal information management. Data Grids, Data Warehousing, OLAP. Temporal, Spatial, Sensor, and Multimedia Databases. Taxonomy and Categorization. Pattern Recognition, Clustering, and Classification. Knowledge Management and Ontologies. Query Processing and Optimization. Database Applications and Experiences. Web Data Mgnt and Deep Web May 23, 2013 Paper Submission Deadline June 30, 2013 Notification of Acceptance July 20, 2013 Registration and Camera-Ready Manuscript Conference Website: ACC-2013 provides an international forum for presentation and discussion of research on a variety of aspects of advanced computing and its applications, and communication and networking systems. Important Dates May 5, Special Sessions Proposal June 5, Full Paper Submission July 5, Author Notification Aug. 5, Advance Registration & Camera Ready Paper Due CBR International Workshop Case-Based Reasoning CBR-MD July 19, 2013, New York/USA Topics of interest include (but are not limited to): CBR for signals, images, video, audio and text Similarity assessment Case representation and case mining Retrieval and indexing Conversational CBR Meta-learning for model improvement and parameter setting for processing with CBR Incremental model improvement by CBR Case base maintenance for systems Case authoring Life-time of a CBR system Measuring coverage of case bases Ontology learning with CBR Submission Deadline: March 20th, Notification Date: April 30th, Camera-Ready Deadline: May 12th, 2013 Workshop on Data Mining in Life Sciences DMLS Discovery of high-level structures, incl e.g. association networks Text mining from biomedical literatur Medical images mining Biomedical signals mining Temporal and sequential data mining Mining heterogeneous data Mining data from molecular biology, genomics, proteomics, pylogenetic classification With regard to different methodologies and case studies: Data mining project development methodology for biomedicine Integration of data mining in the clinic Ontology-driver data mining in life sciences Methodology for mining complex data, e.g. a combination of laboratory test results, images, signals, genomic and proteomic samples Data mining for personal disease management Utility considerations in DMLS, including e.g. cost-sensitive learning Submission Deadline: March 20th, Notification Date: April 30th, Camera-Ready Deadline: May 12th, Workshop date: July 19th, 2013 Workshop on Data Mining in Marketing DMM' In business environment data warehousing - the practice of creating huge, central stores of customer data that can be used throughout the enterprise - is becoming more and more common practice and, as a consequence, the importance of data mining is growing stronger. Applications in Marketing Methods for User Profiling Mining Insurance Data E-Markteing with Data Mining Logfile Analysis Churn Management Association Rules for Marketing Applications Online Targeting and Controlling Behavioral Targeting Juridical Conditions of E-Marketing, Online Targeting and so one Controll of Online-Marketing Activities New Trends in Online Marketing Aspects of ing Activities and Newsletter Mailing Submission Deadline: March 20th, Notification Date: April 30th, Camera-Ready Deadline: May 12th, Workshop date: July 19th, 2013 Workshop Data Mining in Ag DMA Data Mining on Sensor and Spatial Data from Agricultural Applications Analysis of Remote Sensor Data Feature Selection on Agricultural Data Evaluation of Data Mining Experiments Spatial Autocorrelation in Agricultural Data Submission Deadline: March 20th, Notification Date: April 30th, Camera-Ready Deadline: May 12th, Workshop date: July 19th, 2013
17
FAUST Functional-Gap clustering (FAUST=Functional Analytic Unsupervised and Supervised machine Teaching) relies on choosing a distance dominating functional (map to R1 s.t. |F(x)-F(y)|Dis(x,y) x,y; so that any F-gap implies a linear cluster break. Dot Product Projection: DPPd(y)≡ (y-p)od where the unit vector, d, can be obtained as d=(p-q)/|p-q| for points, p and q. Square Distance Functional: SDp(y) ≡ (y-p)o(y-p) Coordinate Projection is a the simplest DPP: ej(y) ≡ yj Dot Product Radius: DPRpq(y) ≡ √ SDp(y) - DPPpq(y)2 Square Dot Product Radius: SDPRpq(y)≡ SDp(y)-DPPpq(y)2 Note: The same DPPd gaps are revealed by DPd(y)≡ yod since ((y-p)od=yod-pod and thus DP just shifts all DPP values by pod. X X1...Xj ...Xn x1 x2 . xi xi,j xN x1od x2od xiod xNod d1 dn = X mm d = DPPd(X) Finding a good unit vector, d, for Dot Product functional, DPP. to maximize gaps subjected to i=1..n di2= 1 Method-1: Maximize VarianceDPPd(X) wrt d. Let upper bar mean column average. VarDPPd(X) = (Xod) ( Xod )2 - ( j=1..nXj dj )2 = (1/N)i=1..N( (j=1..n xi,jdj)2 ) = (1/N)i=1..N(j=1..n xi,jdj) (k=1..n xi,kdk) - (j=1..nXj dj) (k=1..nXk dk) = (1/N)i=1..N( j=1..n xi,j2dj2 + 2j<k xi,jxi,kdjdk ) - (j=1..n Xj2dj2 + 2j<k XjXkdjdk ) VX o dd =VarDPPdX V X1... Xj ... Xn X1 : Xi XiXj-XiX,j XN V d1... dj ... dn d1 di didj dN V = +(2j=1..n<k XjXkdjdk ) = (1/N) j=1..nXj2 dj2 - (j=1..n Xj2dj2 - 2j<k XjXkdjdk ) = (1/N) j=1..nXj2 dj2 - (j=1..n Xj2dj +(2j=1..n<k XjXkdjdk ) - 2j<k XjXkdjdk ) = (1/N) j=1..n( Xj2 - Xj2 ) dj +(2j=1..n<k=1..n (XjXk - XjXk ) djdk ) Alg-1 (heuristic): Use unit vec (a1...an)≡A that max's YoA, A=Y/|Y|. D≡(√ ,...,√ ) and d≡D/|D| (outliers 1st?) X12 - X12 Alg-2 (heuristic): Find k s.t is max. Set dk=1, dh=0 hk. We've already done this using ek with max stdev) Xk2 - Xk2 Alg-3 (optimum): Find d maxing VarDPPd(X). VX, dd are n2-vectors. V=VXodd. The dd maxing V is VX/|VX|. |d|=1 |dd|=1: |d|=1 |dd|=1 |dd| =SQRT(i=1..ndi2d12 +i=1..ndi2d i=1..ndi2dn2 ) |dd| = SQRT( j=1..n(i=1..ndi2)dj2 ) |dd| = SQRT(j=1..n 1dj2) =SQRT(j=1..n dj2) = 1 |dd|=1 |d|=1 1=|dd| = SQRT( i=1..ndi2d12 + i=1..ndi2d i=1..ndi2dn2 ) = SQRT( (i=1..ndi2) (j=1..ndj2) ) = SQRT( (i=1..ndi2)2 ) = i=1..ndi2 dT o VX o d = VarDPPdX≡V subject to i=1..ndi2=1 d dn V i XiXj-XiX,j : d1 : dn = V(d)=ijaijdidj
18
Hierarchical Clustering
ABC DEFG DE FG A BC F G D E B C Any maximal anti-chain (maximal set of nodes in which no 2 are directly connected) is a clustering (a dendogram offers many).
19
Hierarchical Clustering
But the “horizontal” anti-chains are the clusterings resulting from the top down (or bottom up) method(s).
20
CONCRETE GRAVEL F=(DPP-MN)/4 Concrete(C, W, FA, A) Accuracy=90%
0 1 1 1 5 1 6 1 7 1 8 4 9 1 10 1 11 2 12 1 13 5 14 1 15 3 16 3 17 4 18 1 19 3 20 9 21 4 22 3 23 7 24 2 25 4 26 8 27 7 28 7 29 10 30 3 31 1 32 3 33 6 34 4 35 5 37 2 38 2 40 1 42 3 43 1 44 1 45 1 46 4 49 1 56 1 58 1 61 1 65 1 66 1 69 1 71 1 77 1 80 1 83 1 86 1 CLUS 4 (F=(DPP-MN)/2, Fgap2 0 3 7 4 9 1 10 12 11 8 12 7 15 4 18 10 21 3 22 7 23 2 25 2 26 3 27 1 28 2 29 1 31 3 32 1 34 2 40 4 47 3 52 1 53 3 54 3 55 4 56 2 57 3 58 1 60 2 61 2 62 4 64 4 67 2 68 1 71 7 72 3 79 5 85 1 87 2 med=10 _______ = L 0M 3H CLUS gap= Median=0 Avg=0 = L 0M 4H CLUS gap= Median=7 Avg=7 [8,14] 1L 5M 22H CLUS L+5M err H Median=11 Avg=10.7 med=14 med=9 med=18 gap=3 ______ = L 0M 4H CLUS gap= Median=15 Avg=15 = L 0M 10H CLUS gap= Median=18 Avg=18 med=17 med=21 ______ [20,24) 0L 10M 2H CLUS gap= Median=22 Avg=22 2H errs in L [24,30) L 0M 0H CLUS_ Median=26 Avg=26 med=23 med=40 gap=2 [30,33] 0L 4M 0H CLUS gap= Median=31 Avg=32.3 = L 2M 0H CLUS gap= Median=34 Avg=34 ______ = L 4M 0H CLUS_ gap= Median=40 Avg=40 = L 3M 0H CLUS_ gap= Median=47 Avt=47 med=34 med=33 med=56 Accuracy=90% med=61 ______ [50,59) L 1M 4H CLUS gap= Median=55 Avg=55 1M+4H errs in L [59,63) L 0M 0H CLUS_ Median=61.5 Avg=61.3 med=57 med=62 gap=2 ______ = L 0M 2H CLUS gap= Median=64 Avg= H errs in L [66,70) 10L 0M 0H CLUS Median=67 Avg=67.3 med=71 gap=3 [70,79) 10L 0M 0H CLUS_ Median=71 Avg=71.7 med=71 ______ gap=7 = L 0M 0H CLUS_ gap=6 Median=79 Avg=79 [74,90) 2L 0M 1H CLUS_ Merr in L Median=87 Avg=86.3 med=86 Suppose we know (or want) 3 clusters, Low, Medium and High Strength. Then we find ______ CLUS 4 gap=7 [52,74) 0L 7M 0H CLUS_3 Suppose we know that we want 3 strength clusters, Low, Medium and High. We can use an anti-chain that gives us exactly 3 subclusters two ways, one show in brown and the other in purple Which would we choose? The brown seems to give slightly more uniform subcluster sizes. Brown error count: Low (bottom) 11, Medium (middle) 0, High (top) 26, so 96/133=72% accurate. The Purple error count: Low 2, Medium 22, High 35, so 74/133=56% accurate. ______ gap=6 [74,90) 0L 4M 0H CLUS_2 ________ [0.90) 43L 46 M 55H gap=14 [90,113) 0L 6M 0H CLUS_1 What about agglomerating using single link agglomeration (minimum pairwise distance? Agglomerate (build dendogram) by iteratively gluing together clusters with min Median separation. Should I have normalize the rounds? Should I have used the same Fdivisor and made sure the range of values was the same in 2nd round as it was in the 1st round (on CLUS 4)? Can I normalize after the fact, I by multiplying 1st round values by 100/88=1.76? Agglomerate the 1st round clusters and then independently agglomerate 2nd round clusters? _____________At this level, FinalClus1={17M} 0 errors C1 C2 C3 C4 CONCRETE
21
GRAVEL Agglomerating using single link (min pairwise distance = min gap size! (glue min-gap adjacent clusters 1st) CLUS 4 (F=(DPP-MN)/2, Fgap2 0 3 7 4 9 1 10 12 11 8 12 7 15 4 18 10 21 3 22 7 23 2 25 2 26 3 27 1 28 2 29 1 31 3 32 1 34 2 40 4 47 3 52 1 53 3 54 3 55 4 56 2 57 3 58 1 60 2 61 2 62 4 64 4 67 2 68 1 71 7 72 3 79 5 85 1 87 2 _______ = L 0M 3H CLUS gap= Median=0 Avg=0 = L 0M 4H CLUS gap= Median=7 Avg=7 [8,14] 1L 5M 22H CLUS L+5M err H Median=11 Avg=10.7 gap=3 ______ = L 0M 4H CLUS gap= Median=15 Avg=15 = L 0M 10H CLUS gap= Median=18 Avg=18 ______ [20,24) 0L 10M 2H CLUS gap= Median=22 Avg=22 2H errs in L [24,30) L 0M 0H CLUS_ Median=26 Avg=26 gap=2 [30,33] 0L 4M 0H CLUS gap= Median=31 Avg=32.3 = L 2M 0H CLUS gap= Median=34 Avg=34 ______ = L 4M 0H CLUS_ gap= Median=40 Avg=40 = L 3M 0H CLUS_ gap= Median=47 Avt=47 Accuracy=90% ______ [50,59) L 1M 4H CLUS gap= Median=55 Avg=55 1M+4H errs in L [59,63) L 0M 0H CLUS_ Median=61.5 Avg=61.3 gap=2 ______ = L 0M 2H CLUS gap= Median=64 Avg= H errs in L [66,70) 10L 0M 0H CLUS Median=67 Avg=67.3 gap=3 [70,79) 10L 0M 0H CLUS_ Median=71 Avg=71.7 ______ gap=7 = L 0M 0H CLUS_ gap=6 Median=79 Avg=79 [74,90) 2L 0M 1H CLUS_ Merr in L Median=87 Avg=86.3 The first thing we can notice is that outliers mess up agglomerations which are supervised by knowledge of the number of subclusters expected. Therefore we might remove outliers by backing away from all gap5 agglomerations, then looking for a 3 subcluster max anti-chains. What we have done is to declare F<7 and F>84 as extreme tripleton outliers sets; and F=79. F=40 and F=47 as singleton outlier sets because they are F-gapped by at least 5 (which is actually 10) on either side. The brown gives more uniform sizes. Brown errors: Low (bottom) 8, Medium (middle) 12 and High (top) 6, so 107/133=80% accurate. The one decision to agglomerate C4.7.1 to C4.7.2 (gap=3) instead of C4.3.2 to C4.7.2 (gap=3) lots of error. C4.7.1 and C4.7.2 are problematic since they are separate out, but in increasing F order, it's H M L M L, so if we suspected this pattern we would look for 5 subclusters. The 5 orange errors in increasing F-order are: 6, 2, 0, 0, 8 so 127/133=95% accurate. If you have ever studied concrete, you know it is a very complex material. The fact that it clusters out with a F-order pattern of HMLML is just bizarre! So we should expect errors. CONCRETE
22
We will do round-2 on C1, but first analyze thinning, TC1k, in C1.
MEDEV2 WINE GRAVY akk d1 d2 d3 d4 Vd starting with (0010): F-MN Ct gp2 We will do round-2 on C1, but first analyze thinning, TC1k, in C1. We also note that F=13 has all 5 TC12 errors, though there is not gap or thinning that separates [13,14) out (i.e., F fully linearizes L, H) F-MN Ct gp2 107 1 ___ _ [0,5) 17L 0H TC13 [5,14) 40L 5H TC12 ___ _ [0,12) 56L 0H [12,16) 1L 12H ___ ___ [0,16) L 12H C1 [16,118) 0L 81H C2 ___ _ [5.13) 39L 0H [13,14) 1L 5H C1 akk d1 d2 d3 d4 Vd 6*(F-MN) Ct gp6 105 2 ___ _ _ [14,19) 0L 9H TC11 ___ ___ [0,19) L 14H C1 ___ _ [0,3) L 0H C18 [3,18) 8L 0H C17 C1:8*(F-MN) gp8 ___ _ _ [18,35) 24L 0H C16 ___ ___ [19,29) 0L 30H C2 ___ _ _ [35,60) 24L 0H C15 ___ ___ [29,35) 0L 5H C3 ___ _ _ [60,71) 9L 0H C14 ___ ___ [35,43) 0L 9H C4 ___ _ _ [71,79) 5L 0H C13 ___ ___ [0,99) L 0H C11 [99,115) 1L 12H C12 ___ _ _ [79,95) 1L 9H C12 ___ _ _ [95,105) 0L 5H C11 ___ ___ [43,51) 0L 14H C5 ___ ___ [51,56) 0L 2H C6 ___ ___ [56,60) 0L 1H C7 ___ ___ [60,63) 0L 1H C8 We note that cut=12 clusters with 140/150=99.3% accuracy, however, again, there is no alg that would cut at 12 (not even a thinning). So we apply a 2nd round to C1. ___ ___ [63,72) 0L 4H C9 ___ ___ [72,83) 0L 2H Ca ___ ___ [83,99) 0L 7H Cb ACCURACY CONCRETE IRIS SEEDS WINE GRAVEL MEDEX ___ ___ [99,105) 0L 1H Cc ___ ___ [105,113) 0L 1H Cd ___ ___ [113,119) 0L 1H Ce ___ ___ [119,120) 0L 1H Cf
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.