Home > functions > common > loadfunc > vb_load_bayes_model.m

vb_load_bayes_model

PURPOSE ^

SYNOPSIS ^

function Model = vb_load_bayes_model(bayesfile)

DESCRIPTION ^

 Copyright (C) 2011, ATR All Rights Reserved.
 License : New BSD License(see VBMEG_LICENSE.txt)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function    Model = vb_load_bayes_model(bayesfile)
0002 %
0003 % Copyright (C) 2011, ATR All Rights Reserved.
0004 % License : New BSD License(see VBMEG_LICENSE.txt)
0005 
0006 load(bayesfile)
0007 
0008 if ~isfield(Model,'Cov'), Model.Cov = Cov; end;
0009 if ~isfield(Model,'a0'),  Model.a0  = vb_parm.a0; end;
0010 if ~isfield(Model,'sx0'), Model.sx0 = vb_parm.sx0; end;
0011 if ~isfield(Model,'v0'),  Model.v0  = vb_parm.v0; end;

Generated on Tue 27-Aug-2013 11:46:04 by m2html © 2005