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

📄 cpd_to_dpots.m

📁 贝叶斯算法(matlab编写) 安装,添加目录 /home/ai2/murphyk/matlab/FullBNT
💻 M
字号:
function pots = CPD_to_dpots(CPD, domain, ns, cnodes, evidence)% CPD_TO_DPOTS Convert the CPD to several discrete potentials, for different instantiations (generic)% pots = CPD_to_dpots(CPD, domain, ns, cnodes, evidence)%% domain(:,i) is the domain of the i'th instantiation of CPD.% node_sizes(i) is the size of node i.% cnodes = all the cts nodes% evidence{i} is the evidence on the i'th node.%% This just calls CPD_to_dpot for each domain.    nCPDs = size(domain,2);pots = cell(1,nCPDs);for i=1:nCPDs  pots{i} = CPD_to_dpot(CPD, domain(:,i), ns, cnodes, evidence);end

⌨️ 快捷键说明

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