converged.m
来自「使用变分EM方法实现的LDA文本模型 输入为文本即可 分解实现」· M 代码 · 共 17 行
M
17 行
function b = converged(u,udash,threshhold)% converged(u,udash,threshhold)% Returns 1 if u and udash are not different by the ratio threshhold% (default 0.001).% Mon May 17 20:01:31 JST 2004 dmochiha@slt% thresholdif (nargin < 3) threshhold = 1.0e-3;end% mainif (diff_vec(u, udash) < threshhold) b = true;else b = false;end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?