smoother_engine.m

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

M
13
字号
function engine = smoother_engine(tbn_engine)% SMOOTHER_ENGINE Create an engine which does offline (fixed-interval) smoothing in O(T) space/time% function engine = smoother_engine(tbn_engine)%% tbn_engine is any 2TBN inference engine which supports the following methods:% fwd, fwd1, back, backT, back, marginal_nodes and marginal_family.engine.tbn_engine = tbn_engine;engine.b = []; % space to store smoothed messagesengine = class(engine, 'smoother_engine');%engine = class(engine, 'smoother_engine', inf_engine(bnet_from_engine(tbn_engine)));

⌨️ 快捷键说明

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