20 | | if ( n_input<1 ) mexErrMsgTxt ( "Usage:\n" |
21 | | "bm_struct=bm_bayes(BM_struct, yt, cond)\n" |
22 | | " bm_struct = struct('class','BM_offspring',...); % description of Bayesian Model (BM)\n" |
23 | | " yt = [...]; % vector of observed data\n" |
24 | | " cond = [...]; % vector of conditioning variables\n" |
25 | | "output:\n" |
26 | | " bm_struct = struct('class','BM_offsprin',...); % description of BM afret update." ); |
| 21 | if ( n_input<1 ) mexErrMsgTxt ( |
| 22 | "Usage:\n" |
| 23 | "[bm_struct,logevidence]=bm_bayes(BM_struct, yt, cond)\n" |
| 24 | " BM_struct = struct('class','BM_offspring',...); % description of Bayesian Model (BM)\n" |
| 25 | " yt = [...]; % vector of observed data\n" |
| 26 | " cond = [...]; % vector of conditioning variables\n" |
| 27 | "output:\n" |
| 28 | " bm_struct = struct('class','BM_offsprin',...); % description of BM afret update.\n" |
| 29 | " logevidence = 0.0; % logarithm of normalizing constant f(yt|cond)" |
| 30 | ); |