📄 unh_cmac.ps
字号:
%!PS-Adobe-3.0%%Title: Microsoft Word - UNH_CMAC.DOC%%Creator: Windows NT 4.0%%CreationDate: 12:55 7/29/1996%%Pages: (atend)%%BoundingBox: 12 15 599 782%%LanguageLevel: 2%%DocumentNeededFonts: (atend)%%DocumentSuppliedFonts: (atend)%%EndComments%%BeginProlog
%%BeginResource: procset NTPSOct95
/NTPSOct95 100 dict dup begin/bd{bind def}bind def/ld{load def}bd/ed{exch def}
bd/a/currentpoint ld/c/curveto ld/d/dup ld/e/eofill ld/f/fill ld/tr/translate
ld/gr/grestore ld/gs/gsave ld/j/setlinejoin ld/L/lineto ld/M/moveto ld/n
/newpath ld/cp/closepath ld/rm/rmoveto ld/sl/setlinewidth ld/sd/setdash ld/g
/setgray ld/r/setrgbcolor ld/s/stroke ld/t/show ld/aw/awidthshow ld/im
/imagemask ld/MS{moveto show}bd/SF{findfont exch scalefont setfont}bd/SM{cmtx
setmatrix}bd/MF{findfont exch makefont setfont}bd/CM{/cmtx matrix currentmatrix
def}bd/B{M exch dup 0 rlt exch 0 exch rlt neg 0 rlt}bd/CB{B cp eoclip}bd/EA{1
index 0/G0 put 4 string 1 1 4 -1 roll{3 copy neg exch cvs dup 0 71 put cvn 3 -1
roll exch put}for pop}bd/rlt/rlineto ld/L2?/languagelevel where{pop
languagelevel 2 ge}{false}ifelse def end def
%%EndResource
%%EndProlog%%BeginSetup[{0/languagelevel where{pop languagelevel 2 ge}{false}ifelse{1 dict dup/JobTimeout 4 -1 roll put setuserparams}{statusdict/setjobtimeout get exec}ifelse}stopped cleartomark[{300/languagelevel where{pop languagelevel 2 ge}{false}ifelse{1 dict dup/WaitTimeout 4 -1 roll put setuserparams}{statusdict/waittimeout 3 -1 roll put}ifelse}stopped cleartomark[{%%BeginFeature: *PageSize Letter
2 dict dup /PageSize [612 792] put dup /ImagingBBox null put setpagedevice%%EndFeature} stopped cleartomark/#copies 1 def%%EndSetupNTPSOct95 begin%%Page: 1 1NTPSOct95 /PageSV save put12.52 782.039 translate 72 600 div dup neg scale0 0 transform .25 add round .25 sub exch .25 add round .25 sub exch itransform translate%%IncludeFont: Helvetica[92 0 0 -92 0 0]/Helvetica MF(1)2495 6197 MS%%IncludeFont: Helvetica-Bold[100 0 0 -100 0 0]/Helvetica-Bold MF(UNH_CMAC Version 2.1)1880 613 MS(The University of New Hampshire Implementation of the)1117 731 MS(Cerebellar Model Arithmetic Computer - CMAC)1339 849 MS(August 31, 1994)2065 1085 MS(\(last modified July, 1996\))1851 1203 MS(W. Thomas Miller and )1540 1439 MS(Filson H. )2627 1439 MS(Glanz)3078 1439 MS(Robotics Laboratory)1958 1557 MS(University of New Hampshire)1754 1675 MS(Durham, New Hampshire 03824)1698 1793 MS[92 0 0 -92 0 0]/Helvetica-Bold MF(THE ALBUS CMAC)496 2054 MS[92 0 0 -92 0 0]/Helvetica MF(In this section we review the basic operating principles of the CMAC neural network as)646 2211 MS(proposed by )496 2317 MS(Albus [2,4-7]. We then present a mathematical description of the conventional)1027 2317 MS(CMAC in a form intended to facilitate software implementation. The notation used is somewhat)496 2423 MS(different than in the original )496 2529 MS(Albus papers, but the set of equations presented is numerically)1635 2529 MS(equivalent to the original )496 2635 MS(Albus algorithm.)1519 2635 MS[92 0 0 -92 0 0]/Helvetica-Bold MF(General Operation of the )496 2844 MS(Albus CMAC)1603 2844 MS[92 0 0 -92 0 0]/Helvetica MF(The operation of the )646 3001 MS(Albus CMAC [2,4-7,11] can most easily be described in terms of a)1498 3001 MS(large set of overlapping, )496 3107 MS(multi-dimensional receptive fields with finite boundaries. Any input)1506 3107 MS(vector falls within the range of some of the local receptive fields \(the excited receptive fields\),)496 3213 MS(and falls outside of the range of most of the receptive fields. The response of the CMAC neural)496 3319 MS(network to a given input is the average of the responses of the receptive fields excited by that)496 3425 MS(input, and is not affected by the other receptive fields. Similarly, neural network training for a)496 3531 MS(given input vector affects the adjustable parameters of the excited receptive fields, but does not)496 3637 MS(affect the parameters of the remaining majority of receptive fields.)496 3743 MS(The organization of the receptive fields of a typical )646 3899 MS(Albus CMAC neural network with a two-)2720 3899 MS(dimensional input space is as follows. The total collection of receptive fields is divided into C)496 4005 MS/IsChar{exch/CharStrings get exch known}bd/MapCh{3 -1 roll/Encoding get 3 1
roll put}bd/MapDegree{dup 16#b0 exch/degree IsChar{/degree}{/ring}ifelse MapCh}
bd/MapBB{dup 16#a6 exch/brokenbar IsChar{/brokenbar}{/bar}ifelse MapCh}bd
/reencode{findfont begin currentdict dup length dict begin{1 index/FID ne{def}
{pop pop}ifelse}forall/FontName exch def dup length 0 ne{/Encoding Encoding 256
array copy def 0 exch{dup type/nametype eq{Encoding 2 index 2 index put pop 1
add}{exch pop}ifelse}forall}if pop currentdict dup end end/FontName get exch
definefont dup MapDegree MapBB}bd/LATENC[0/grave/acute/circumflex/tilde/macron
/breve/dotaccent/dieresis/ring/cedilla/hungarumlaut/ogonek/caron/dotlessi/fi/fl
/Lslash/lslash/Zcaron/zcaron/minus/.notdef/.notdef/.notdef/.notdef/.notdef
/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/space/exclam/quotedbl
/numbersign/dollar/percent/ampersand/quotesingle/parenleft/parenright/asterisk
/plus/comma/hyphen/period/slash/zero/one/two/three/four/five/six/seven/eight
/nine/colon/semicolon/less/equal/greater/question/at/A/B/C/D/E/F/G/H/I/J/K/L/M
/N/O/P/Q/R/S/T/U/V/W/X/Y/Z/bracketleft/backslash/bracketright/asciicircum
/underscore/grave/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/braceleft
/bar/braceright/asciitilde/.notdef/.notdef/.notdef/quotesinglbase/florin
/quotedblbase/ellipsis/dagger/daggerdbl/circumflex/perthousand/Scaron
/guilsinglleft/OE/.notdef/.notdef/.notdef/.notdef/quoteleft/quoteright
/quotedblleft/quotedblright/bullet/endash/emdash/tilde/trademark/scaron
/guilsinglright/oe/.notdef/.notdef/Ydieresis/.notdef/exclamdown/cent/sterling
/currency/yen/brokenbar/section/dieresis/copyright/ordfeminine/guillemotleft
/logicalnot/hyphen/registered/macron/degree/plusminus/twosuperior/threesuperior
/acute/mu/paragraph/periodcentered/cedilla/onesuperior/ordmasculine
/guillemotright/onequarter/onehalf/threequarters/questiondown/Agrave/Aacute
/Acircumflex/Atilde/Adieresis/Aring/AE/Ccedilla/Egrave/Eacute/Ecircumflex
/Edieresis/Igrave/Iacute/Icircumflex/Idieresis/Eth/Ntilde/Ograve/Oacute
/Ocircumflex/Otilde/Odieresis/multiply/Oslash/Ugrave/Uacute/Ucircumflex
/Udieresis/Yacute/Thorn/germandbls/agrave/aacute/acircumflex/atilde/adieresis
/aring/ae/ccedilla/egrave/eacute/ecircumflex/edieresis/igrave/iacute
/icircumflex/idieresis/eth/ntilde/ograve/oacute/ocircumflex/otilde/odieresis
/divide/oslash/ugrave/uacute/ucircumflex/udieresis/yacute/thorn/ydieresis]def
LATENC /_Helvetica /Helvetica reencode[92 0 0 -92 0 0]/_Helvetica MF(subsets, referred to in this document as \223layers\224 \(the layers represent parallel N-dimensional)496 4111 MS(hyperspaces for a network with N inputs\). The receptive fields in each of the layers have)496 4217 MS(rectangular boundaries and are organized so as to span the input space without overlap. Any)496 4323 MS(input vector excites one receptive field from each layer, for a total of C exited receptive fields for)496 4429 MS(any input. Each of the layers of receptive fields is identical in organization, but each layer is)496 4535 MS(offset relative to the others in the input )496 4641 MS(hyperspace. The width of the receptive fields produces)2086 4641 MS(input generalization, while the offset of the adjacent layers of receptive fields produces input)496 4747 MS(quantization. The ratio of the width of each receptive field \(input generalization\) to the offset)496 4853 MS(between adjacent layers of receptive fields \(input )496 4959 MS(quantization\) must be equal to C for all)2511 4959 MS(dimensions of the input space. The integer parameter C is referred to as the )496 5065 MS(generalization)3619 5065 MSn570 6 3619 5075 Bf(parameter)496 5171 MS(.)916 5171 MSn419 6 496 5181 Bf(This organization of the receptive fields guarantees that only a fixed number, C, of receptive)646 5327 MS(fields is excited by any input. However, the total number of receptive fields required to span the)496 5433 MS(input space can still be large for many practical problems. On the other hand, it is unlikely that)496 5539 MS(the entire input state space of a large system would be visited in solving a specific problem.)496 5645 MS(Thus it is not necessary to store unique information for each receptive field. Following this logic,)496 5751 MS(most implementations of the )496 5857 MS(Albus CMAC include some form of pseudo-random hashing, so)1675 5857 MSshowpage%%Page: 2 212.52 782.039 translate 72 600 div dup neg scale0 0 transform .25 add round .25 sub exch .25 add round .25 sub exch itransform translate[92 0 0 -92 0 0]/Helvetica MF(2)2495 6197 MS(that only information about receptive fields that have been excited during previous training is)496 603 MS(actually stored.)496 709 MS(Each receptive field in the )646 865 MS(Albus CMAC is assumed to be an on-off type of entity. If a)1725 865 MS(receptive field is excited, its response is equal to the magnitude of a single adjustable weight)496 971 MS(specific to that receptive field. If a receptive field is not excited, its response is zero. The CMAC)496 1077 MS(output is thus the average of the adjustable weights of the excited receptive fields. If nearby)496 1183 MS(points in the input space excite the same receptive fields, they produce the same output value.)496 1289 MS(The output only changes when the input crosses one of the receptive field boundaries. The)496 1395 MS(Albus CMAC neural network thus produces piece-wise constant outputs.)496 1501 MS(The implementation of the )646 1657 MS(Albus CMAC logically proceeds as follows:)1738 1657 MS(1. Identify the C receptive fields excited by the input.)646 1813 MS(2. Find the C adjustable weights for those receptive fields in a pool of stored weights.)646 1969 MS(3. Compute the average of the C adjustable weights.)646 2125 MS[92 0 0 -92 0 0]/Helvetica-Bold MF(The )496 2334 MS(Albus CMAC Computation)684 2334 MS[92 0 0 -92 0 0]/Helvetica MF(Consider a classic )646 2491 MS(Albus CMAC neural network with a real valued input vector)1417 2491 MS1 j1 setlinecap16 sln1695 2677 M1747 2677 LCM 0.258 0.258 scalesSM[91.438 0 0 -91.438 0 0]/Helvetica MF(S)1693 2661 MS(s)1999 2661 MS(s)2148 2661 MS(s)2456 2661 MS[66.5 0 0 -66.5 0 0]/Helvetica MF(N)2505 2686 MS%%IncludeFont: Symbol[91.438 0 0 -91.438 0 0]/Symbol MF(=)1833 2661 MS(<)1916 2661 MS(>)2588 2661 MS[66.5 0 0 -66.5 0 0]/Helvetica MF(1)2049 2686 MS(2)2201 2686 MS[91.438 0 0 -91.438 0 0]/Helvetica MF(,)2096 2661 MS(,)2257 2661 MS(.)2304 2661 MS(.)2331 2661 MS(.)2358 2661 MS(,)2404 2661 MS( )2674 2661 MS ( )2700 2661 MS ( )2725 2661 MS ( )2751 2661 MS ( )2776 2661 MS ( )2802 2661 MS ( )2827 2661 MS ( )2853 2661 MS ( )2878 2661 MS ( )2904 2661 MS( )2929 2661 MS ( )2955 2661 MS ( )2981 2661 MS ( )3006 2661 MS ( )3032 2661 MS ( )3057 2661 MS (\()3083 2661 MS (1)3113 2661 MS (\))3164 2661 MS[92 0 0 -92 0 0]/Helvetica MF(in an N-dimensional input space. Assume that the generalization parameter \(the number of)496 2830 MS(simultaneously excited receptive fields for each input\) is C. The first step of the CMAC)496 2936 MS(computation is to form a normalized integer input vector )496 3042 MS(S)2790 3042 MS(' by dividing each component )2851 3042 MS(s)4059 3042 MS[58 0 0 -58 0 0]/Helvetica MF(j)4105 3055 MS[92 0 0 -92 0 0]/Helvetica MF( of the)4118 3042 MSn60 6 2790 3052 Bf(input vector by an appropriate )496 3155 MS(quantization parameter)1738 3155 MS( )2679 3155 MS[92 0 0 -92 0 0]/Symbol MF(D)2705 3155 MS[58 0 0 -58 0 0]/Helvetica MF(j)2761 3168 MS[92 0 0 -92 0 0]/Helvetica MF(:)2774 3155 MSn940 6 1738 3165 Bfn979 3407 M1031 3407 LCM 0.258 0.258 scalesSMn2238 3359 M2355 3359 LCM 0.258 0.258 scalesSMn2597 3359 M2728 3359 LCM 0.258 0.258 scalesSMn3116 3359 M3251 3359 LCM 0.258 0.258 scalesSM[91.438 0 0 -91.438 0 0]/Helvetica MF(S)977 3390 MS(s)1269 3390 MS(s)1417 3390 MS(s)1725 3390 MS(s)2252 3318 MS(s)2611 3318 MS(s)3130 3318 MS[66.5 0 0 -66.5 0 0]/Helvetica MF(N)1775 3415 MS(N)3180 3343 MS(N)3188 3486 MS[91.438 0 0 -91.438 0 0]/Symbol MF(\242)1038 3350 MS(=)1102 3390 MS(<)1185 3390 MS(\242)1318 3391 MS(\242)1467 3391 MS(\242)1775 3391 MS(>)1857 3390 MS(=)1941 3390 MS(<)2024 3390 MS(>)3310 3390 MS[66.5 0 0 -66.5 0 0]/Helvetica MF(1)1318 3415 MS(2)1471 3415 MS(1)2301 3343 MS(1)2310 3486 MS(2)2665 3343 MS(2)2673 3486 MS[91.438 0 0 -91.438 0 0]/Helvetica MF(,)1366 3390 MS(,)1527 3390 MS(.)1573 3390 MS(.)1600 3390 MS(.)1628 3390 MS(,)1674 3390 MS(i)2104 3390 MS (n)2124 3390 MS (t)2176 3390 MS (\()2201 3390 MS(\))2360 3390 MS(,)2415 3390 MS(i)2464 3390 MS (n)2484 3390 MS (t)2535 3390 MS (\()2561 3390 MS(\))2732 3390 MS(,)2787 3390 MS(.)2833 3390 MS(.)2861 3390 MS(.)2888 3390 MS(,)2934 3390 MS(i)2983 3390 MS (n)3003 3390 MS (t)3054 3390 MS (\()3080 3390 MS(\))3256 3390 MS[91.438 0 0 -91.438 0 0]/Symbol MF(D)2246 3461 MS(D)2606 3461 MS(D)3125 3461 MS[91.438 0 0 -91.438 0 0]/Helvetica MF( )3390 3390 MS ( )3415 3390 MS ( )3441 3390 MS ( )3466 3390 MS ( )3492 3390 MS ( )3517 3390 MS ( )3543 3390 MS ( )3568 3390 MS ( )3594 3390 MS ( )3619 3390 MS( )3645 3390 MS ( )3670 3390 MS ( )3696 3390 MS ( )3722 3390 MS ( )3747 3390 MS ( )3773 3390 MS (\()3798 3390 MS (2)3828 3390 MS (\))3879 3390 MS[92 0 0 -92 0 0]/Helvetica MF(The width of each receptive field along the )496 3641 MS(jth axis is equal to C *)2247 3641 MS[92 0 0 -92 0 0]/Symbol MF( D)3133 3641 MS[58 0 0 -58 0 0]/Helvetica MF(j)3212 3654 MS[92 0 0 -92 0 0]/Helvetica MF( in the original input space,)3225 3641 MS(and is equal to C along all axes in the normalized input space.)496 3754 MS(The next step of the CMAC computation is to form the vector addresses )646 3910 MS(A)3596 3910 MS[58 0 0 -58 0 0]/Helvetica MF(i)3657 3923 MS%%IncludeFont: Helvetica-Oblique[92 0 0 -92 0 0]/Helvetica-Oblique MF( )3670 3935 MS[92 0 0 -92 0 0]/Helvetica MF(of the C)3696 3910 MSn60 6 3596 3920 Bf(receptive fields which contain the input point )496 4016 MS(S)2320 4016 MS(')2381 4016 MS[92 0 0 -92 0 0]/Helvetica-Oblique MF(:)2399 4016 MSn60 6 2320 4026 Bfn798 4187 M859 4187 LCM 0.258 0.258 scalesSM[91.438 0 0 -91.438 0 0]/Helvetica MF(A)798 4170 MS(s)1091 4170 MS(s)1331 4170 MS(i)1508 4170 MS(C)1635 4170 MS(s)1809 4170 MS
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -