分享

Matlab 7.0 添加BNT工具箱

 cknote 2012-05-10
Matlab 7.0 添加BNT工具箱
2010-02-15 13:10

Matlab 7.0 添加BNT工具箱

采用MATLAB语言编制的贝叶斯网络工具箱(Bayesian Networks Toolbox,BNT)可实现贝叶斯网络结构学习、参数学习、推理和构建贝叶斯分类器,此工具箱在贝叶斯学习编程方面非常灵活。

官方主页:http://www.cs./~murphyk/Software/BNT/bnt.html
官方下载:http://www.cs./~murphyk/Software/BNT/FullBNT-1.0.4.zip
原文链接:http://hi.baidu.com/zgyz/blog/item/2d3627f415c7fbe77709d763.html

贝叶斯网络:http://www.cs./~murphyk/Software/BNT/bnt.html
语音工具箱:http://www.ee./hp/staff/dmb/voicebox/voicebox.html

1、解压FullBNT-1.0.4.zip,将整个目录FullBNT-1.0.4复制到MATLAB的安装目录的TOOLBOX目录下,如D:\MATLAB7\toolbox\

2、打开Matlab,在MATLAB命令窗口中输入以下命令:
>> cd D:\MATLAB7\toolbox\FullBNT-1.0.4
>> addpath(genpathKPM(pwd))
>>
将TOOLBOX下新加的BNT工具箱加到MATLAB的搜索路径中去。

添加BNT工具箱的MATLAB的搜索路径也可采用如下指令
>> addpath(genpath('D:\MATLAB7\toolbox\FullBNT-1.0.4'))
>>

3、为了永久保存上面的路径,以免下次重启MATLAB时重新添加,在MATLAB命令窗口下使用下面的命令:
>> savepath
>>

4、检验是否成功设置的方法:
在命令窗口中输入以下命令:which test_BNT.m(可以为所加工具箱的任一个M文件名称),如果显示正确,就说明上面的设置成功。
>> which test_BNT.m
D:\MATLAB7\toolbox\FullBNT-1.0.4\BNT\test_BNT.m
>>

以下为可能出现的问题及解决办法
Warning: Function C:\FullBNT-1.0.4\KPMtools\isvector.m has the same name as a MATLAB builtin. We

suggest you rename the function to avoid a potential name conflict.
> In path at 110
In addpath at 89
Warning: Function C:\FullBNT-1.0.4\KPMtools\isscalar.m has the same name as a MATLAB builtin. We

suggest you rename the function to avoid a potential name conflict.
> In path at 110
In addpath at 89
Warning: Function C:\FullBNT-1.0.4\KPMtools\assert.m has the same name as a MATLAB builtin. We

suggest you rename the function to avoid a potential name conflict.
> In path at 110
In addpath at 89
>>

原文链接:http://hi.baidu.com/zgyz/blog/item/2d3627f415c7fbe77709d763.html

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多