Model FSM w zastosowaniu do klasyfikacji.
5DIDá$GDPF]DN:áRG]LVáDZ'XFK
.DWHGUD0HWRG.RPSXWHURZ\FK8QLZHUV\WHW0LNRáDMD.RSHUQLND
XO*UXG]LG]ND7RUXHPDLO^UDDGGXFK`#SK\VXQLWRUXQSO
Streszczenie
6LHFL )60 PDM SURVW VWUXNWXU SRGREQ GR VLHFL 5%) MHGQDN G]LNL X*\FLX VHSDUo-
ZDOQ\FK IXQNFML WUDQVIHUX ]DPLDVW UDGLDOQ\FK PDM V]HUV]H ]DVWRVRZDQLH 2PyZLRQR Dr-
FKLWHNWXU LQLFMDOL]DFM NRQVWUXNW\ZLVW\F]Q\ DOJRU\WP XF]HQLD RSW\PDOL]DFM VLHFL Rb-
roty zlokalizowanych funkcji transferu, rozpoznawanie wektorów w czasie klasyfikacji
RUD] PR*OLZRFL ]DVWoVRZD GR HNVWUDNFML UHJXá
1. Wprowadzenie
:G*HQLXGR]UR]XPLHQLDOXG]NLHMLQWHOLJHQFMLLXP\VáXZ\Uy*QLüPR*QDGZDSDUDG\JPDW\
3LHUZV]\]QLFK V]WXF]QD LQWHOLJHQFMD ED]XMH QD SU]HWZDU]DQLX V\PEROLF]Q\P D ZLF (Uó-
GáHP V WX SURFHV\ SR]QDZF]H Z\VRNLHJR SR]LRPX GUXJL VLHFL QHXURQRZH Z\ZRG] VL ]
QHXURG\QDPLNLLLQVSLURZDQHVSU]H]VWUXNWXUQHXURQRZPy]JX6LHFLQHXURQRZHSRSU]H]
VZRMRGPLHQQRüZSRGHMFLXGRSUREOHPXLQWHOLJHQFMLLXP\VáXZQRV]QRZHPR*OLZRFL
GRG]LHG]LQ\V]WXF]QHMLQWHOLJHQFML'RW\FKF]DVVLHFLQHXURQRZHZ\GDMVLE\üQDMOHSV]\P
UR]ZL]DQLHPGOD]DGDSR]QDZF]\FKQLVNLHJRSR]LRPXWDNLFKMDNSUREOHP\ZLG]HQLDF]\
UR]SR]QDZDQLDPRZ\OXEWH*GODSURVW\F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\VWHP)60[1]MHVWLQVSLURZDQ\QDG]LDáDQLXPy]JXLGo-
VWDUF]DPR*OLZRFLQLHW\ONRPRGHORZDQLDDOHUyZQLH*UR]XPLHQLDSURFHVyZSR]QDZF]\FKL
LFKUHODFML]G\QDPLNPy]JX
0RGHOHIXQNFMLPy]JXZ\PDJDMV]HUHJXDSURNV\PDFML:SLHUZV]\PNURNXZSURZDG]DVL
PRGHO QHXURQX MDNR XU]G]HQLD HOHNWU\F]QHJR [15] SU]H] FR GRNRQXMH VL GUDVW\F]QHJR
uproszczenia z punktu widzenia procesów biochemicznych i bioelektrycznych. Ta aproksy-
PDFMDSR]ZDODX*\üZ PRGHOX W\ONR NLONX SDUDPHWUyZ WDNLFK MDN SUyJ Z]EXG]HQLD L ZDJL
V\QDSW\F]QH -HVW UyZQLH* NRQLHF]QD GR ]UR]XPLHQLD SURFHVyZ SR]QDZF]\FK Z\*V]HJR So-
]LRPX3URFHV\SR]QDZF]HQLVNLHJRSR]LRPXUHDOL]RZDQHQDMF]FLHMSU]H]Uy*QHPDS\Wo-
SRJUDILF]QH GHILQLXM FHFK\ ZHZQWU]QHM UHSUH]HQWDFML 7H FHFK\ UHSUH]HQWXM ZLHOH W\SyZ
GDQ\FK DQDORJRZH V\JQDá\ VHQVRURZH ]PLHQQH OLQJZLVW\F]QH OLF]E\ REUD]\ 3UDZG]LZH
RELHNW\XP\VáXVNáDGDMVLJáyZQLH]SU]HWZRU]RQ\FKZVWSQLHGDQ\FKVHQVRURZ\FKUHSUe-
]HQWDFML REUD]NRZHM G]LDáDQLD SHUFHSF\MQHJR 2ELHNW\ XP\VáX ]QDMGXM VL Z SU]HVWU]HQL
XP\VáXNWyUDMHVWGODQLFK]ELRUQLNLHP1DWXUDOQSUDNW\F]QUHDOL]DFMWHMLGHLMHVWPRGXODr-
QDVLHüQHXURQRZD]Z]áDPLVSHFMDOL]XMF\PLVLZRSLVLHJUXSRELHNWyZZSU]HVWU]HQLXPy-
VáX:]á\WDNLHMVLH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V]F]HJyá\
XVWDODM VL Z Z\QLNX SURFHVX XF]HQLD : SHZQ\P VHQVLH MHVW WR ZLF PHWDPRGHO JG\*
PR*OLZDMHVWUy*QDVSHF\ILNDFMDMHJRPDWHPDW\F]Q\FKDVSHNWyZ3LHUZRWQLQVSLUDFMGRMHJR
VWZRU]HQLDE\áDSUyEDZSURZDG]HQLDSRUHGQLHJRSR]LRPXRSLVXIXQNFMLSR]QDZF]\FKMDNR
SU]\EOL*HQLDGRneurodynamiki [2]Z\VRNDDNW\ZQRüQHXURQyZZ\V\áDMF\FKLPSXOV\RSi-
V\ZDQDMHVWSU]H]GX*JVWRüSUDZGRSRGRELHVWZDZ W\P REV]DU]H SU]HVWU]HQL NWyU\ Rd-
SRZLDGD NRPELQDFML FHFK NRQLHF]Q\FK GR Z\ZRáDQLD WDNLHM DNW\ZQRFL 3UREDELOLVW\F]Q\
punkt widzenia jest bardzo przydatny do opisu sieci neuronowych [3].
:WHMSUDF\RJUDQLF]\P\VLW\ONRGR]DVWRVRZDQLDPRGHOX)60GR]DJDGQLHNODV\ILNDFML
SRGQDG]RUHP3U]H]SRMFLHNODV\ILNDFMLUR]XPLHVLG]LHOHQLHGRZROQHJR]ELRUXHOHPHQWyZ
QDJUXS\GRNWyU\FK]DOLF]DVLHOHPHQW\Uy*QLFHVLDOHSRGREQHWMPDMFHZáDVQRFLZy-
Uy*QLDMFHGDQJUXS=ELyUHOHPHQWyZQDOH*F\FKGRMHGQHMJUXS\QD]\ZDQ\ MHVW NODV D
ND*G\HOHPHQWNODV\±RELHNWHP:NODV\ILNDFMLSRGQDG]RUHPVWUXNWXUDNDWHJRULLMHVW]QDQD
F]\OLG\VSRQXMHVLFKDUDNWHU\VW\NNODV]NWyU\FKSRFKRG]RELHNW\.ODV\ILNDWRU\RSDUWHQD
sieciach neuronowych na podstawie zadanego zbioru N
SU]\SDGNyZ]ZDQHJRFLJLHPWUHQLn-
gowym (X
i
, C
i
), i= 1..N, gdzie X jest m-
Z\PLDURZ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]RVWDMQDVWSQLHSURSRUFMRQDOQLH]ZLNV]RQHSR
WRDE\VLHüZSRF]WNRZHMID]LHXF]HQLDRGUD]XNODV\ILNRZDáDEH]Z]JOGXQDSRSUDZQRü
ZV]\VWNLHZHNWRU\]FLJXWUHQLQJRZHJR']LNLWHPXXQLNDVLSU]\SDGNRZHJRZVWDZLDQLD
Z]áyZQDSoF]WNXXF]HQLD
Jednym z algorytmów stosowanych w FSM do inicjalizacji sieci jest drzewo decyzyjne budo-
ZDQHQDSRGVWDZLHKLVWRJUDPXXWZRU]RQHJRGODND*GHJRZ\PLDUXRVREQR
0
5
10
15
20
25
30
35
Dany wymiar dzielony jest na k
SU]HG]LDáyZR;QDU\VXQNX:ND*G\PSU]HG]LDOH]OLF]a-
QDMHVWOLF]EDZHNWRUyZNWyUDGRQLHJRZSDGDR<QDU\VXQNX.D*G\]SU]HG]LDáyZPR*H
E\üáF]RQ\]VVLHGQLPLSU]HG]LDáDPLWZRU]FZWHQVSRVyEVNXSLVNRZSU]HVWU]HQLMHGQo-
Z\PLDURZHM-H*HOLZGDQ\PZ\PLDU]HZ\VWSXMHZLHOHVNXSLVNWREGRQHRGG]LHORQHSu-
VW\PL SU]HG]LDáDPL OXE WH* PLG]\ NROHMQ\PL SU]HG]LDáDPL Z\VWSL EDUG]R GX*D Uy*QLFD Z
]DZDUWRFL ZHNWRUyZ SU]HGVWDZLRQR WR QD SRZ\*V]\P U\VXQNX JG]LH PR*QD Z\Uy*QLü
VNXSLVND=Dáy*P\*HNODVWHUUR]SRF]\QDVLRGiWHJRSU]HG]LDáXL]DMPXMHl SU]HG]LDáyZ
ND*G\RV]HURNRFLs. Wówczas pozycja oraz rozmiar skupiska w oryginalnej przestrzeni mo-
*H]RVWDüSU]HGVWDZLRQDZQDVWSXMF\VSRVyE
k
X
X
s
ls
i
s
X
C
x
x
|
|
2
1
)
2
1
(
min
max
min
−
=
=
+
+
=
σ
x
1
=
a
1
x
2
=
a
2
V
1
=
f(a
1
;a
2
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\NRU]\VWXMHVLGRGDWNRZLQIRUPDFMSU]\QDOH*QRüGRNODV\L
EXGXMFVNXSLVNRDQDOL]XMHVLMHJRGRNáDGQRüW]QOLF]EZHNWRUyZ]LQWHUHVXMFHMQDVNODV\
ZVWRVXQNXGRZV]\VWNLFKZHNWRUyZQDOH*F\FKGRWHJRVNXSLVND:PRPHQFLHJG\MDNRü
VNXSLVND]QDF]QLHVLSRJDUV]DSU]HU\ZDVLáF]HQLHJUXSGRWHJRVNXSLVND-HVWWREDUG]R
wygodny punkt stopu dla metody dendrogramów.
7DNZLFSURFHVXF]HQLDNWyU\QDVWSXMHSRLQLFMDOL]DFMLRGE\ZDVL]DZV]HGODVLHFLNWyUD
SRVLDGDMX*MDNLHZ]á\XNU\WH
5. Algorytm Uczenia
1DZHMFLHVLHFLSRGDZDQ\MHVWZHNWRUZ\ELHUDQ\ORVRZR]FLJXWUHQLQJRZHJR:\EyUGo-
NRQ\ZDQ\MHVWZWDNLVSRVyEDE\ND*G\]ZHNWRUyZZGDQHMVHULLSRMDZLáVLGRNáDGQLH raz.
*G\FDá\FLJWUHQLQJRZ\]RVWDQLHMX*SRND]DQ\SURFHGXUD]RVWDMHSRZWyU]RQD.D*GDWDND
VHULD QD]\ZDQD MHVW HSRN 3URFHV XF]HQLD WUZD WDN GáXJR D* VSHáQLRQH ]RVWDQLH NU\WHULXP
zako
czenia opisane poni*ej&Dá\SURFHVXF]HQLDSRG]LHOLüPR*QDQDGZLHID]\
)D]D0RG\ILNDFMDSDUDPHWUyZLVWQLHMF\FKSURWRW\SyZWMSRáR*HQHXURQyZLFKUR]P\ü
mas i czasów powstania.
Faza 2: Dostawianie nowych neuronów.
5.1. Faza I
-HOLZHNWRUZHMFLRZ\MHVWGRVWDWHF]QLHSRGREQ\GRLVWQLHMFHJRZ]áDZ\VWDUF]\]PRG\Ii-
NRZDüSDUDPHWU\RSLVXMFHWHQZ]Há3RGRELHVWZRZ\]QDF]DQHMHVWQDSRGVWDZLHRGOHJá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WQLDá\]e-
EUDQHZ\QLNLUy*Q\FKNODV\ILNDWRUyZGODGDQHJR]ELRUX)60]RVWDáSRUyZQDQ\]QDMOHSV]y-
PL]QLFK-HOLWDNLHZ\QLNLQLHLVWQLDá\GRNRQDOLP\SRUyZQDQLD)60]QDMOHSV]\PPRGe-
OHP0/3MDNLXGDáRVL]QDOH(üZOLWHUDWXU]HE\áDWR]Z\NáDZVWHF]QDSURSDJD]FMD5SURS
Quickprop lub – dla danych „hypothyroid” – genetyczna optymalizacja parametrów), metody
QDMEOL*V]\FKVVLDGyZk-NN [9] oraz drzewa decyzji C4.5 [10]. We wszystkich tabelach re-
]XOWDW RWU]\PDQ\ ] VLHFL )60 SU]HGVWDZLRQ\ MHVW Z RVWDWQLHM NROXPQLH ZV]\VWNLH SR]RVWDáH
UH]XOWDW\ V Z NROHMQRFL PDOHMFHM GRNáDGQRFL NODV\ILNDFML :H ZV]\VWNLFK SU]\SDGNDFK
Z\QLNLRVLJQLWH]DSRPRF)60V]EOL*RQHGRQDMOHSV]\FK:LFHMZ\QLNyZ]QDOH(üPR*-
na na stronie internetowej: http://www.phys.uni.torun.pl/kmk/projects/datasets.html
•
'DQH'1$]DZLHUDMZHNWRUyZZ]ELRU]HWUHQLQJRZ\PLZHNWRUyZZ]ELRU]H
WHVWRZ\P :\VWSXMH ELQDUQ\FK DWU\EXWyZ L WU]\ NODV\ R QDVWSXMF\P UR]NáDG]LH
procentowym: w zbiorze treningowym 23.2%, 24.3%, 52.5%, w zbiorze testowym 25.6%,
23.6%, 50.8%.
Radial
Dipol92
Alloc80
QuaDisc
Discrim
FSM
'RNáDGQRüQD
zbiorze testowym
95.9%
95.2%
94.3%
94.1%
94.1%
94.3%
•
'DQHÄMRQRVIHUD´]DZLHUDMZHNWRUyZ]F]HJRSLHUZV]\FKX*\ZDVLGRWUHQo-
ZDQLDQDWRPLDVWSR]RVWDáHGRWHVWRZDQLD'DQHWHUHSUH]HQWXMV\JQDáUDGDURZ\RGELW\RG
MR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, 21.6%, 9.4%, 10,6%, 23.4%, testowym 23.1%,
11.2%, 19.9%, 10.5%, 11.8%, 23.5%.
k-NN
LVQ
Dipol92
Radial
FSM
'RNáDGQRüQD]ELRU]H
testowym
90.6%
89.5%
88.9%
87.9%
89.8%
•
'DQHÄVRQDU´]DZLHUDMZHNWRUyZNWyUHSRG]LHORQHUyZQRQD]ELyUWUHQLQJRZ\LWe-
VWRZ\:\VWSXMGZLHNODV\.D*G\]ZHNWRUyZSRVLDGDFLJá\FKDWU\EXWyZ&HOHP
jest od
Uy*QLHQLHV\JQDáXVRQDUXRGELWHJRRGPHWDOXRGV\JQDáXRGELWHJRRGVNDá\
MLP+BP
k-NN
C4.5
FSM
'RNáDGQRüQD]ELRU]H
testowym
90.4%
84.2
65.4
88.8%
•
'DQHÄVKXWWOH´]DZLHUDMZHNWRUyZZ]ELRU]HWUHQLQJRZ\PLZ]ELRU]HWe-
VWRZ\P:\VWSXMHVLHGHPNODVPDMF\FKQDVWSXMF\XG]LDáSURFHQWRZ\ZSRV]F]HJyl-
nych zbiorach: zbiór treningowy 78.41%, 0.09%, 0.3%, 15.51%, 5.65%, 0.01%, 0.03%,
WHVWRZ\P'DQHSRVLDGDMFL-
Já\FKDWU\EXWyZ
NewId
BayTree
Cn2
Cal5
FSM
'RNáDGQRüQD]ELRU]H
testowym
99.99%
99.98%
99.97%
99.97%
99.97%
•
'DQHÄOHWWHUV´]DZLHUDMZHNWRU\RSLVXMFHGX*\FKOLWHU]DOIDEHWXM]\NDDQJLHOVNLHJR
:\VWSXMHZHNWRUyZ]F]HJRSU]H]QDF]RQ\FK]RVWDáRGRWUHQRZDQLDVLHFLD
SR]RVWDáHGRWHVWRZDQLD'DQHWHXWZRU]RQH]RVWDá\]Uy*Q\FKIRQWyZ'RND*GHM
OLWHU\ VSRUyG W\FK IRQWyZ GRGDQ\ ]RVWDá V]XP 8WZRU]RQR F]DUQR ELDáH SURVWRNWQH
REUD]\NWyUHQDVWSQLHSU]HGVWDZLRQRZSRVWDFLZHNWRUDVNáDGDMFHJRVL]FHFKQu-
PHU\F]Q\FK :V]\VWNLH FHFK\ ]RVWDá\ SU]HVNDORZDQH WDN DE\ ZDUWRFL W\FK FHFK\ E\á\
FDáNRZLWHZ]DNUesie od 0 do 15.
Alloc80
k-NN
LVQ
QuaDisc
FSM
'RNáDGQRüQD]ELRU]H
testowym
93.6%
93.2%
92.1%
88.7%
92.2%
•
'DQHÄJDOD[LHV´]DZLHUDMRSLVJDODNW\N]NDWDORJX(62/9[12]. Celem jest wykonanie
automatycznej klasyfikacji, która porównywalna jest do klasyfikacji eksperta. Zbiór ten
]DZLHUD SRQDG ZHNWRUyZ 6LHü WUHQRZDQD MHVW QD ]ELRU]H ]DZLHUDMF\P HOe-
PHQWyZLWHVWRZDQDQD]ELRU]HZHNWRUyZ.D*G\ZHNWRUVNáDGDVL]FHFKLPo-
*HQDOH*HüGRMHGQHM]GZyFKNODVJDODNW\NLZF]HVQHJRW\SXOXEWH*JDODNW\NLSy(QHJR
typu.
k-NN
C4.5
MLP+BP
FSM
'RNáDGQRüQD]ELRU]HWHVWo-
wym
92.82%
92.4%
89.6%
93%
•
'DQHÄKHSDWLWLV´GRW\F]FKRUyEZWURE\RWU]\PDQH]7RNLMVNLHJRXQLZHUV\WHWXPHG\Fz-
nego [13]
'DQHWH]ZLHUDMSU]\SDGNyZZW\PX*\WH]RVWDá\GRWHVWRZDQLDD
SR]RVWDáHGRWUHQRZDQLDVLHFL.D*G\SU]\SDGHNRSLVDQ\]RVWDáSU]H]FHFK:\VWSXM
klasy.
k-NN
C4.5
MLP
FSM
'RNáDGQRüQD]ELRU]HWHVWo-
wym
82.8%
75.5%
68%
82.2%
•
Dane „
VHJPHQWDWLRQ´]DZLHUDMZHNWRUyZZ]ELRU]HWUHQLQJRZ\PLZ]ELRU]H
WHVWRZ\P:\VWSXMHNODVND*GD]NODVZ]ELRU]HWUHQLQJRZ\PSRVLDGDZHNWRUyZD
Z]ELRU]HWHVWRZ\P:V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WUDOQ\FK OXE JDXVVRZVNLFK F]\ WH* LQWHUSUHWDFM
RSDUWRORJLNUR]P\WIXQNFMDWUyMNWQDJDXVVRZVND7DJLWNRüWZRU]HQLDUy*Q\FKRb-
V]DUyZGHF\]\MQ\FKXPR*OLZLD]DVWRVRZDQLHVLHFL)60ZZLHOXG]LHG]LQDFKFRSRWZLHUG]DM
przedstawione wyniki.
=DVWRVRZDQLDWHJRPRGHOXGRDSURNV\PDFMLMDNRSDPLFLDVRFMDF\MQHMRUD]MDNRIXQNFMLKHu-
U\VW\F]QHM Z SUREOHPDFK RSW\PDOQHJR VSHáQLDQLD ZLHOX RJUDQLF]H [1] QLH ]RVWDá\ MHV]F]H
SRGMWH
3RG]LNRZDQLD =D ZVSDUFLH ILQDQVRZH Z UDPDFK JUDQWX QU 7) MHVWHP\
ZG]LF]QL.RPLWHWRZL%DGD1DXNowych.
Literatura
[1]
Duch W., Diercksen G. H. F. (1995): Feature Space Mapping as a universal adaptive system.
-- Computer Physics Communications, Vol 87, pp. 341-371.
[2]
Duch W. (1997): Platonic model of mind as an approximation to neurodynamics. [w:] Brain-
like computing and intelligent information systems (S-i. Amari, N. Kasabov, Ed.). – Singapore
Springer, rozdz. 20, s. 491-512.
[3]
Bishop C. (1995): Neural network for pattern recognition. – Oxford: Clarendon Press.
[4]
Duch W. (1996): From cognitive models to neurofuzzy systems - the mind space approach. --
Systems Analysis-Modeling-Simulation, Vol. 24, pp. 53-65.
[5]
Duch W., Jankowski N. (1999): Survey of neural transfer functions -- Neural Computing Sur-
veys, Vol. 2, pp. 163-213.
[6]
Duch W., Adamczak R., Jankowski N. (1997): Initialization of adaptive parameters in density
networks -- Third Conference on Neural Networks and Their Applications, Kule,
SD(G]LHUQLN
1997, s. 99-104 .
[7]
Kohonen T. (1995): Self-organizing maps. -- Heidelberg Berlin: Springer-Verlag.
[8]
Blake C. L. and Merz C. J. (1999), UCI repository of machine learning databases. --
http://www.ics.uci.edu/~mlearn/MLRepository.html
[9]
'XFK : *UXG]LVNL . The weighted k-NN method with selection of features and its neural
realization. -- 4
th
Conference on Neural Networks and Their Applications, Zakopane, Maj
1999, s. 191-196.
[10]
Quinlan J. R. (1993): C4.5: Programs for machine learning.-- Morgan Kaufmann, San Mateo,
CA.
[11]
'XFK : $GDPF]DN 5 *UEF]HZVNL . Methodology of extraction, optimization and
application of crisp and fuzzy logical rules. -- IEEE Transactions on Neural Networks special
issue on Data Mining.
[12]
Lahav O., Naim A., Sodre L. Jr. and Storne-Lombardi M. C. (1995): Neural Comptutation as
a tool for galaxy classification: methods and examples. -- Institute od Astronomy, Cambridge,
Technical report CB3 OHA.
[13]
Duch W., Adamczak R., Gr
bczewski K., )DO * +D\DVKL < Fuzzy and crisp logical
rule extraction methods in application to medical data. -- Computational Intelligence and Ap-
plications (P.S. Szczepaniak. Ed.) Springer, Studies in Fuzziness and Soft Computing, Vol. 23.
[14]
Weiss S.M., Kapouleas I. (1990): An empirical comparison of pattern recognition, neural nets
and machine learning classification methods. [w:] Readings in Machine Learning (Shavlik
J.W. and Dietterich T.G. Ed.). -- Morgan Kauffman Publ, CA.
[15]
Churchland P.S., Sejnowski T.J. (1992): The computational brain. -- MIT, Bradford Book.
[16]
Thelen E., Smith L.B. (1994): A Dynamic Systems Approach to the Development of Cognition
and Action. -- MIT Press.
[17]
Breiman L. (1998): Bias-variance, regularization, instability and stabilization. -- Neural Net-
works and Machine Learning (Bishop C. M. Ed.), s. 27–56. Springer-Verlag.