Parameter setting of dynamic estimation. [Usage] dbayes_parm = vb_set_dbayes_parm(proj_root); [Input] proj_root : Root directory of your data files. Inside project filename should be described as relative path. [Output] dbayes_parm : Settings specific to dynamic estimation. [Example] see vb_set_dbayes_parm_test.m Copy this file to your local directory and modify according to your environment. 2015/03/17 M.Fukushima Copyright (C) 2011, ATR All Rights Reserved. License : New BSD License(see VBMEG_LICENSE.txt)
0001 function [dbayes_parm] = vb_set_dbayes_parm(proj_root) 0002 % Parameter setting of dynamic estimation. 0003 % [Usage] 0004 % dbayes_parm = vb_set_dbayes_parm(proj_root); 0005 % 0006 % [Input] 0007 % proj_root : Root directory of your data files. 0008 % Inside project filename should be described as relative path. 0009 % [Output] 0010 % dbayes_parm : Settings specific to dynamic estimation. 0011 % 0012 % [Example] 0013 % see vb_set_dbayes_parm_test.m 0014 % 0015 % Copy this file to your local directory and modify according to your 0016 % environment. 0017 % 0018 % 2015/03/17 M.Fukushima 0019 % 0020 % Copyright (C) 2011, ATR All Rights Reserved. 0021 % License : New BSD License(see VBMEG_LICENSE.txt) 0022 0023 % --- Initial Value file (Inside project file: relative path from proj_root) 0024 dbayes_parm.bayes_file = ''; 0025 0026 % --- Output file (Inside project file: relative path from proj_root) 0027 dbayes_parm.dbayes_file = ''; 0028 0029 % --- Structural connectivity (full path) 0030 dbayes_parm.dmri_file = ''; 0031 0032 0033 % --- MEG file(Optional) (Inside project file: relative path from proj_root) 0034 dbayes_parm.meg_file = ''; % if empty is specified, megfile in the 0035 % dbayes_parm.bayes_file is used for dynamics estimation. 0036 0037 % --- Specify current area (Optional) 0038 % if you don't specify (or empty) these fields, the area specified 0039 % in dmri file(.dmri.mat) is used for dynamic estimation. 0040 % dbayes_parm.area_key = []; 0041 % dbayes_parm.area_key_global = dbayes_parm.area_key; 0042 0043 %% --- Hyperparameters for the variance parameter of the MAR coefficients 0044 dbayes_parm.ieta0 = 1e-2; 0045 dbayes_parm.g0 = 1e2; 0046 0047 %% --- Iteration number 0048 dbayes_parm.Ntrain = 500;