Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
![]() |
#1 |
高级会员
注册日期: 2019-11-21
帖子: 3,006
声望力: 66 ![]() |
![]()
尝试为Matlab测试Bayes Net Toolbox时出现错误,我的操作与此处显示的安装相同,但出现错误(我有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 >> 回答: 如您所说:在BNT / examples / static / Zoubin / ffa.m和BNT / examples / static / Zoubin / mfa.m中,用infinite替换对过时的finite的调用 这是参考 更多&回答... |
![]() |
![]() |