Mercurial > hg > camir-ismir2012
annotate toolboxes/FullBNT-1.0.7/nethelp3.3/somfwd.htm @ 0:cc4b1211e677 tip
initial commit to HG from
Changeset:
646 (e263d8a21543) added further path and more save "camirversion.m"
author | Daniel Wolff |
---|---|
date | Fri, 19 Aug 2016 13:07:06 +0200 |
parents | |
children |
rev | line source |
---|---|
Daniel@0 | 1 <html> |
Daniel@0 | 2 <head> |
Daniel@0 | 3 <title> |
Daniel@0 | 4 Netlab Reference Manual somfwd |
Daniel@0 | 5 </title> |
Daniel@0 | 6 </head> |
Daniel@0 | 7 <body> |
Daniel@0 | 8 <H1> somfwd |
Daniel@0 | 9 </H1> |
Daniel@0 | 10 <h2> |
Daniel@0 | 11 Purpose |
Daniel@0 | 12 </h2> |
Daniel@0 | 13 Forward propagation through a Self-Organising Map. |
Daniel@0 | 14 |
Daniel@0 | 15 <p><h2> |
Daniel@0 | 16 Synopsis |
Daniel@0 | 17 </h2> |
Daniel@0 | 18 <PRE> |
Daniel@0 | 19 |
Daniel@0 | 20 d2 = somfwd(net, x) |
Daniel@0 | 21 </PRE> |
Daniel@0 | 22 |
Daniel@0 | 23 |
Daniel@0 | 24 <p><h2> |
Daniel@0 | 25 Description |
Daniel@0 | 26 </h2> |
Daniel@0 | 27 <CODE>d2 = somfwd(net, x)</CODE> propagates the data matrix <CODE>x</CODE> through |
Daniel@0 | 28 a SOM <CODE>net</CODE>, returning the squared distance matrix <CODE>d2</CODE> with |
Daniel@0 | 29 dimension <CODE>nin</CODE> by <CODE>num_nodes</CODE>. The $i$th row represents the |
Daniel@0 | 30 squared Euclidean distance to each of the nodes of the SOM. |
Daniel@0 | 31 |
Daniel@0 | 32 <p><CODE>[d2, win_nodes] = somfwd(net, x)</CODE> also returns the indices of the |
Daniel@0 | 33 winning nodes for each pattern. |
Daniel@0 | 34 |
Daniel@0 | 35 <p><h2> |
Daniel@0 | 36 Example |
Daniel@0 | 37 </h2> |
Daniel@0 | 38 |
Daniel@0 | 39 <p>The following code fragment creates a SOM with a $5times 5$ map for an |
Daniel@0 | 40 8-dimensional data space. It then applies the test data to the map. |
Daniel@0 | 41 <PRE> |
Daniel@0 | 42 |
Daniel@0 | 43 net = som(8, [5, 5]); |
Daniel@0 | 44 [d2, wn] = somfwd(net, test_data); |
Daniel@0 | 45 </PRE> |
Daniel@0 | 46 |
Daniel@0 | 47 |
Daniel@0 | 48 <p><h2> |
Daniel@0 | 49 See Also |
Daniel@0 | 50 </h2> |
Daniel@0 | 51 <CODE><a href="som.htm">som</a></CODE>, <CODE><a href="somtrain.htm">somtrain</a></CODE><hr> |
Daniel@0 | 52 <b>Pages:</b> |
Daniel@0 | 53 <a href="index.htm">Index</a> |
Daniel@0 | 54 <hr> |
Daniel@0 | 55 <p>Copyright (c) Ian T Nabney (1996-9) |
Daniel@0 | 56 |
Daniel@0 | 57 |
Daniel@0 | 58 </body> |
Daniel@0 | 59 </html> |