mutualinfo.m
来自「贝叶斯(Bayesion)机器学习相互信息。用于求取熵、联合熵等。改进后可用于随」· M 代码 · 共 24 行
M
24 行
function h = mutualinfo(vec1,vec2)%=========================================================%%This is a prog in the MutualInfo 0.9 package written by % Hanchuan Peng.%%Disclaimer: The author of program is Hanchuan Peng% at <penghanchuan@yahoo.com> and <phc@cbmv.jhu.edu>.%%The CopyRight is reserved by the author.%%Last modification: April/19/2002%%========================================================%% h = mutualinfo(vec1,vec2)% calculate the mutual information of two vectors% By Hanchuan Peng, April/2002%[p12, p1, p2] = estpab(vec1,vec2);h = estmutualinfo(p12,p1,p2);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?