next up previous contents
Next: Creating a field for Up: The Tree-Structured Self-Organizing Map Previous: Classifying data by a

Smoothing data in a TS-SOM

 

tabular1585

The operation smooths a given data according to the structure of the SOM. Data records corresponding to neurons are averaged by the values in their neighbors. If hitcounts has been given, then only empty neurons are recomputed; otherwise updating is performed for all the neurons.

Example (ex5.3): This example shows the effect of the smoothing.

...
NDA> somtr -d pre -sout som -l 5
NDA> somcl -d pre -s som -cout cld
NDA> clstat -d boston -c cld -dout sta -all
NDA> smhsom -s som -d sta -dout smosta -hits sta.hits -max 20
NDA> mkgrp grp1 -s som
NDA> setgdat grp1 -d sta
NDA> layer grp1 -l 4
NDA> bar grp1 -f sta.crim_avg -co red -sca som
NDA> bar grp1 -f sta.chas_avg -co blue -sca som
NDA> mkgrp grp2 -s som
NDA> setgdat grp2 -d smosta
NDA> layer grp2 -l 4
NDA> bar grp2 -f smosta.crim_avg -co red -sca som
NDA> bar grp2 -f smosta.chas_avg -co blue -sca som
...

figure1593

Original Smoothed



Erkki Hakkinen
Thu Sep 24 11:51:34 EET DST 1998