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

📄 entropic_map_estimate.m

📁 上载文件为Matlab环境下的高斯以马尔科夫模型例程
💻 M
字号:
function [theta, loglik] = entropic_map_estimate(counts, Z)% ENTROPIC_MAP_ESTIMATE Find MAP estimate of multinomial using entropic prior% [theta, loglik] = entropic_map_estimate(counts, Z)%% The entropic prior says P(theta) \propto exp(-H(theta)), where H(.) is the entropy.%% Z = 1 (default) is min entropy% Z = 0 is max likelihood,% Z = -1 is max ent,% Z = -inf corresponds to very high temperature (good for initialisation)%% Based on "Structure learning in conditional probability models via an entropic prior% and parameter extinction", M. Brand, Neural Computation 11 (1999): 1155--1182%% For the Z ~= 1 case, see "Pattern discovery via entropy minimization",% M. Brand, AI & Statistics 1999. Equation numbers refer to this paper.%% This function is just a stub for calling Matt Brand's C code.% We use the stub so that tabular_CPD/maximize_params doesn't complain about 'entropic_map'% not existing in the event that we don't install the C code.[theta, loglik] = entropic_map(counts, Z);

⌨️ 快捷键说明

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