update_ess_simple.m

来自「用matlab实现贝叶斯网络的学习、推理。」· M 代码 · 共 7 行

M
7
字号
function CPD = update_ess_simple(CPD, counts)
% UPDATE_ESS_SIMPLE Update the Expected Sufficient Statistics of a tabular node.
% function CPD = update_ess_simple(CPD, counts)

CPD.nsamples = CPD.nsamples + 1;            
CPD.counts = CPD.counts + counts(:);

⌨️ 快捷键说明

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