贝叶斯网络的matlab实现。可以创建贝叶斯网络、训练模型

源代码在线查看: bkff1.m

软件大小: 2295 K
上传用户: x184372250
关键词: matlab 贝叶斯 网络 模型
下载地址: 免注册下载 普通下载 VIP

相关代码

				% Compare different implementations of fully factored Boyen Koller
				
				water = 1;
				if water
				  bnet = mk_water_dbn;
				else
				  N = 5;
				  Q = 2;
				  Y = 2;
				  bnet = mk_chmm(N, Q, Y);
				end
				ss = length(bnet.intra);
				
				engine = {};
				engine{end+1} = bk_inf_engine(bnet, 'clusters', 'ff');        
				engine{end+1} = bk_ff_hmm_inf_engine(bnet);   
				E = length(engine);
				
				T = 5;
				time = cmp_inference_dbn(bnet, engine, T, 'singletons_only', 1)
				
				
				
							

相关资源