Copyright (C) 2011, ATR All Rights Reserved. License : New BSD License(see VBMEG_LICENSE.txt)
0001 function predict_param_make_from_dbayes_file(dbayes_file, dmri_file, predict_param_file) 0002 % 0003 % Copyright (C) 2011, ATR All Rights Reserved. 0004 % License : New BSD License(see VBMEG_LICENSE.txt) 0005 0006 load(dbayes_file, 'Model', 'vb_parm'); 0007 load(dmri_file, 'vbmeg_area_ix'); 0008 0009 % Predict param format 0010 MAR = Model.MAR; 0011 Delta = vb_parm.Delta; 0012 omega = calc_MARinput(MAR, Delta, Model.Z); 0013 Index_orig = vbmeg_area_ix; 0014 0015 save(predict_param_file, 'omega', 'MAR', 'Delta', 'Index_orig');