y = mlpfwd(net, x) [y, z] = mlpfwd(net, x) [y, z, a] = mlpfwd(net, x)
y = mlpfwd(net, x) takes a network data structure net together with
a matrix x of input vectors, and forward propagates the inputs
through the network to generate a matrix y of output
vectors. Each row of x corresponds to one input vector and each
row of y corresponds to one output vector.
[y, z] = mlpfwd(net, x) also generates a matrix z of the hidden
unit activations where each row corresponds to one pattern.
[y, z, a] = mlpfwd(net, x) also returns a matrix a
giving the summed inputs to each output unit, where each row
corresponds to one pattern.
mlp, mlppak, mlpunpak, mlperr, mlpbkp, mlpgradCopyright (c) Ian T Nabney (1996-9)