Now suppose that the input space is subdivided into K mutually disjoint subsets, Bi which cover the whole space; i.e.
Figure 4.1:
In this figure, we see a bounded two--dimensional input space, I, subdivided into 48 disjoint blocks. Hence, by appropriate labeling,
Figure 4.2:
where pi0 and pi,mi denote the starting and ending points of the ith coordinates of the bounding box B. Thus,
Coordinate Bounds p0 [p00,p0,m0] p1 [p10,p1,m1] : : pN-2 [pN-2,0,pN-2,mN-2] pN-1 [pN-1,0,pN-1,mN-1]
Table 4.1: Bounding Box Structure
Define the blocks and sensors associated with this partition scheme by
Coordinate Partition p0 {p00 < p01 < p0,s < p0,m0 } p1 {p10 < p11 < p1,s < p1,m1 } : : pN-2 {pN-2,0 < pN-2,1 < pN-2,s < pN-2,mN-2 } pN-1 {pN-1,0 < pN-1,1 < pN-1,s < pN-1,mN-1 }
Table 4.2: Bounding Box Partitions
|
= |
|
(4.7) |
| I | Ì |
|
||||||||
| I | Ì |
|
||||||||
| · · · |
(4.9) | |||||||||
| I | Ì |
|
||||||||
| I | Ì |
|
| k0 | « | (s00,s10,...,sN-10) | ||
| k1 | « | (s01,s11,...,sN-11) | ||
| · · · |
(4.10) | |||
| kL-2 | « | (s0L-2,s1L-2,...,sN-1L-2) | ||
| kL-1 | « | (s0L-1,s1L-1,...,sN-1L-1). |
| V | = |
|
(4.11) |
|
= |
|
||||||||||||||||||||||||||||||||||||||
| = |
|
(4.13) |
| rij | = |
|
1 t = 0, t=0, d=0 2 " d, Vd,t,t = 0, Edt = 0 3 t=-1 4 Increment t 5 If edtt º ydt - Gd(Vd,t,t)(x®t) > e " components d, " levels j, set Vj,vjd(x®t)d,t,t+1 = Vj,vjd(x®t)d,t,t + l edtt/Ld Edt += edtt Go To 6 If edtt £ e Continue 6 If t < T Go To 4 7 Compute Et º 1/TD(åd=0D-1 (Edt)2) 8 If Et < d, STOP Else, Increment t Go To 3
Table 4.3: CMAC Learning Algorithm
|
= |
|
|||||||||||||||||||||||||||||||||||
| = |
|
||||||||||||||||||||||||||||||||||||
| = |
|
(4.16) |
|
= |
|
|||||||||||||||||||||||||||||||||||
| = |
|
||||||||||||||||||||||||||||||||||||
| = |
|
||||||||||||||||||||||||||||||||||||
|
= |
|
|
= |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| = |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| = |
|
(4.20) |
|
= |
|
|||||||||||||||||||||||
| = |
|
||||||||||||||||||||||||
| = |
|
(4.21) |
| W | = |
|
(4.23) |
| Iijk | = |
|
(4.25) |
| LEVEL | STRUCTURE | NUMBER OF SUBINTERVALS |
| 0 | [-.1,.5), [.5,1.1] | 2 |
| 1 | [-.1,.02), [.02,.62), [.62,1.1] | 3 |
| 2 | [-.1,.14), [.14,.74), [.74,1.1] | 3 |
| 3 | [-.1,.26), [.26,.86), [.86,1.1] | 3 |
| 4 | [-.1,.38), [.38,.98), [.98,1.1] | 3 |
| W | = |
|
(4.30) |
| LEVEL | SUBINTERVAL STRING | VIRTUAL ADDRESS |
| 0 | 0001100011001101 | 8+16+256+512+4096+8192+32786 |
| = 45,848 | ||
| 1 | 1112201112112212 | 1+3+9+2*27+2*81+729+2187+6561 |
| +2*19683+59049+177147+2*531441 | ||
| +2*1594323+4782969+2*14348907 | ||
| = 38,017,579 | ||
| 2 | 1102201112011202 | 1+3+2*27+2*81+729+2187+6561+2*19683 |
| 177147+531441+2*1594323+2*14348907 | ||
| = 32,644,111 | ||
| 3 | 0102201012011101 | 3+2*27+2*81+729+6561+2*19683+177147 |
| +531441+1594323+14348907 | ||
| = 16,698,693 | ||
| 4 | 0002101011011101 | 2*27+81+729+6561+19683+177147+531441 |
| +1594323+14348907 | ||
| = 16,678,926 |
|
= |
|
(4.32) |
| v | = |
|
(4.38) |
| w | = |
|
(4.39) |
| Wd | = |
|
(4.40) |