?? bayesian_score_cpd.m
字號:
function score = bayesian_score_CPD(CPD, local_ev)% bayesian_score_CPD Compute the Bayesian score of a tabular CPD using uniform Dirichlet prior% score = bayesian_score_CPD(CPD, local_ev)%% The Bayesian score is the log marginal likelihoodif iscell(local_ev) data = num2cell(local_ev);else data = local_ev;endscore = dirichlet_score_family(compute_counts(data, CPD.sizes));
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -