mlpunpak

Purpose

Separates weights vector into weight and bias matrices.

Synopsis

net = mlpunpak(net, w)

Description

net = mlpunpak(net, w) takes an mlp network data structure net and a weight vector w, and returns a network data structure identical to the input network, except that the first-layer weight matrix w1, the first-layer bias vector b1, the second-layer weight matrix w2 and the second-layer bias vector b2 have all been set to the corresponding elements of w.

See Also

mlp, mlppak, mlpfwd, mlperr, mlpbkp, mlpgrad
Pages: Index

Copyright (c) Ian T Nabney (1996-9)