打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
Matlab 7.0 添加BNT工具箱
userphoto

2012.05.10

关注
Matlab 7.0 添加BNT工具箱
2010-02-15 13:10

Matlab 7.0 添加BNT工具箱

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

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

贝叶斯网络:http://www.cs.ubc.ca/~murphyk/Software/BNT/bnt.html
语音工具箱:http://www.ee.ic.ac.uk/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

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
Matlab自定义安装的工具箱选项
如何在matlab中添加新的工具箱
matlab 工具箱的添加
matlab添加工具箱
[原创]强大的MATLAB机器人工具箱Matlab
MATLAB2016b中那些与雷达技术相关的工具箱
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服