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