glmunpak

Purpose

Separates weights vector into weight and bias matrices.

Synopsis

net = glmunpak(net, w)

Description

net = glmunpak(net, w) takes a glm 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 and the first-layer bias vector b1 have been set to the corresponding elements of w.

See Also

glm, glmpak, glmfwd, glmerr, glmgrad
Pages: Index

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