Changeset 943 for applications/bdmtoolbox/mex/mex_classes/mexBM.m
- Timestamp:
- 05/16/10 23:13:02 (14 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
applications/bdmtoolbox/mex/mex_classes/mexBM.m
r937 r943 8 8 methods 9 9 function validate(p) 10 if size(p.mu)<1 & (size(p.b)<1) 11 error('incompatible mu and b'); 12 end 10 % checks if all paramateres match 13 11 end 14 12 function dims=dimensions(p) 15 13 %please fill 16 [size_of_posterior size_of_data size_of_condition] 14 %dims = [size_of_posterior size_of_data size_of_condition] 15 dims = [0,0,0] % 17 16 end 18 17 function obj=bayes(obj,dt,cond) 19 18 % transform old estimate into new estimate 20 19 end 21 function p= posterior(obj)20 function p=epredictor(obj,cond) 22 21 % return posterior density 23 22 end