⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 compute_jpts.m

📁 The BNL toolbox is a set of Matlab functions for defining and estimating the parameters of a Bayesi
💻 M
字号:
function joint_prob_tabs=compute_JPTs(cliquetable,pot_to_CPT,parents,node_sizes,N)
%computes all joint probability tables, used for computing CPTs
k=length(pot_to_CPT.ind);
joint_prob_tabs=cell(k,1);

for i=1:k
    table=cliquetable.pots{pot_to_CPT.ind(i)};
    over=pot_to_CPT.proj{i};
    dims=[node_sizes(parents{i}) node_sizes(i) N];
    if ~isempty(over), joint_prob_tabs{i}=franks_marginalize_pot(table,over,dims);
    else joint_prob_tabs{i}=table;
    end
end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -