当我使用Bayes Net Toolbox for MATLAB实现Gibbs采样时发生错误

时间:2015-04-21 11:38:36

标签: matlab sampling bayesian-networks

它警告函数compute_posterior未定义,我在工具箱中找到了文件compute_posterior.c

为什么它不是.m文件?如何解决问题?

Undefined function 'compute_posterior' for input arguments of type 'struct'.

Error in gibbs_sampling_inf_engine/marginal_nodes (line 101)
  post = compute_posterior (bnet, state, m, engine.strides, engine.families, ...

Error in gibbs_test1 (line 26)
[mg ge] = marginal_nodes (ge,[1,2]);"

0 个答案:

没有答案