Daniel@0: Daniel@0:
Daniel@0:Daniel@0: net = gtminit(net, options, data, samptype) Daniel@0: net = gtminit(net, options, data, samptype, lsampsize, rbfsampsize) Daniel@0:Daniel@0: Daniel@0: Daniel@0:
net = gtminit(net, options, data, samptype)
takes a GTM net
Daniel@0: and generates a sample of latent data points and sets the centres (and
Daniel@0: widths if appropriate) of
Daniel@0: net.rbfnet
.
Daniel@0:
Daniel@0: If the samptype
is 'regular'
, then regular grids of latent
Daniel@0: data points and RBF centres are created. The dimension of the latent data
Daniel@0: space must be
Daniel@0: 1 or 2. For one-dimensional latent space, the lsampsize
parameter
Daniel@0: gives the number of latent points and the rbfsampsize
parameter
Daniel@0: gives the number of RBF centres. For a two-dimensional latent space,
Daniel@0: these parameters must be vectors of length 2 with the number of points
Daniel@0: in each of the x and y directions to create a rectangular grid. The
Daniel@0: widths of the RBF basis functions are set by a call to rbfsetfw
Daniel@0: passing options(7)
as the scaling parameter.
Daniel@0:
Daniel@0:
If the samptype
is 'uniform'
or 'gaussian'
then the
Daniel@0: latent data is found by sampling from a uniform or
Daniel@0: Gaussian distribution correspondingly. The RBF basis function parameters
Daniel@0: are set
Daniel@0: by a call to rbfsetbf
with the data
parameter
Daniel@0: as dataset and the options
vector.
Daniel@0:
Daniel@0:
Finally, the output layer weights of the RBF are initialised by Daniel@0: mapping the mean of the latent variable to the mean of the target variable, Daniel@0: and the L-dimensional latent variale variance to the variance of the Daniel@0: targets along the first L principal components. Daniel@0: Daniel@0:
gtm
, gtmem
, pca
, rbfsetbf
, rbfsetfw
Copyright (c) Ian T Nabney (1996-9) Daniel@0: Daniel@0: Daniel@0: Daniel@0: