MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   资料存档 (https://www.labfans.com/bbs/forumdisplay.php?f=72)
-   -   用于Matlab的Bayes Net Toolbox安装错误MATLAB R2010b (https://www.labfans.com/bbs/showthread.php?t=26672)

poster 2019-12-14 20:46

用于Matlab的Bayes Net Toolbox安装错误MATLAB R2010b
 
尝试[URL="http://code.google.com/p/bnt/"]为Matlab[/URL]测试[URL="http://code.google.com/p/bnt/"]Bayes Net Toolbox[/URL]时出现错误,我的操作与[URL="http://code.google.com/p/bnt/wiki/HowToInstall"]此处[/URL]显示的安装相同,但出现错误(我有Matlab R2010b):

>> cd 'C:\MATLAB\R2010b\FullBNT-1.0.4' >> addpath(genpathKPM(pwd)) Warning: Function C:\MATLAB\R2010b\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 87 Warning: Function C:\MATLAB\R2010b\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 87 Warning: Function C:\MATLAB\R2010b\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 87 >> test_BNT ll = 1.0e-010 * -0.0670 0.1697 cycle 1 lik -51.5585 cycle 2 lik -45.0863 cycle 3 lik -42.9953 ??? Undefined function or method 'finite' for input arguments of type 'double'. Error in ==> ffa at 71 elseif ((lik-likbase) fa1 at 27 [L1, Psi1, LL1] = ffa(X,k,max_iter); Error in ==> test_BNT at 8 fa1 >>

[B]回答:[/B]

如您所说:在BNT / examples / static / Zoubin / ffa.m和BNT / examples / static / Zoubin / mfa.m中,用infinite替换对过时的finite的调用

这是[URL="http://code.google.com/p/bnt/wiki/HowToInstall"]参考[/URL]



[url=https://stackoverflow.com/questions/5374317]更多&回答...[/url]


所有时间均为北京时间。现在的时间是 23:22

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.