全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 MATLAB等数学软件专版
5922 3
2012-03-07
各位大侠,帮忙看看这是怎么了,谢谢了。看的头晕眼花了!!运行极大似然估计的提示:
Warning: Gradient must be provided for trust-region algorithm;
  using line-search algorithm instead.
> In fminunc at 347
  In exc at 118
Local minimum possible.
fminunc stopped because the size of the current step is less than
the selected value of the step size tolerance.
<stopping criteria details>

Local minimum possible.
fminunc stopped because it cannot decrease the objective function
along the current search direction.
<stopping criteria details>

Computing finite-difference Hessian using user-supplied objective function.
Likelihood Has Converged
Computing Test Statistics
Warning: Matrix is close to singular or badly scaled.
         Results may be inaccurate. RCOND = 3.111721e-025.
> In exc at 143
Warning: Matrix is close to singular or badly scaled.
         Results may be inaccurate. RCOND = 3.126260e-025.
> In exc at 161
Optimization stopped because the norm of the current step, 5.081653e-005, is
less than options.TolX = 1.000000e+008.
Optimization Metric                                    Options
relative norm(step) =  5.08e-005                TolX =  1e+008 (selected)

Optimization stopped because the objective function cannot be decreased in the
current search direction. Either the predicted change in the objective function,
or the line search interval is less than eps.
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2012-3-7 13:33:40
好像是你的初始环境设置有问题!
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2012-3-7 15:10:04
第一个问题解决了,用options=optimset('TolX',1e-6);第二个还是没找到!!哪位大侠帮帮忙啊!!
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2016-8-23 06:36:06
trust-region这个算法需要Gradient参数(不知道你在用什么库,所以是猜测)没有Gradient算法无法继续进行,所以停止了
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群