Daniel@0: function hp = gppak(net) Daniel@0: %GPPAK Combines GP hyperparameters into one vector. Daniel@0: % Daniel@0: % Description Daniel@0: % HP = GPPAK(NET) takes a Gaussian Process data structure NET and Daniel@0: % combines the hyperparameters into a single row vector HP. Daniel@0: % Daniel@0: % See also Daniel@0: % GP, GPUNPAK, GPFWD, GPERR, GPGRAD Daniel@0: % Daniel@0: Daniel@0: % Copyright (c) Ian T Nabney (1996-2001) Daniel@0: Daniel@0: % Check arguments for consistency Daniel@0: errstring = consist(net, 'gp'); Daniel@0: if ~isempty(errstring); Daniel@0: error(errstring); Daniel@0: end Daniel@0: hp = [net.bias, net.noise, net.inweights, net.fpar];