“Success, but fitting stopped because change in residuals less than tolerance ” ?
6 次查看(过去 30 天)
显示 更早的评论
Hi there,
I am trying to fit a set of data with Lorentzian by using fittype(). It turns out that only around 10% of the whole data are fitted well with a typical "output message" as
output =
numobs: 51
numparam: 4
residuals: [51x1 double]
Jacobian: [51x4 double]
exitflag: 1
firstorderopt: 9.9194e-008
iterations: 3
funcCount: 20
cgiterations: 0
algorithm: 'trust-region-reflective'
message: 'Success. Fitting converged to a solution.'
while for most of the data, the output is
output =
numobs: 51
numparam: 4
residuals: [51x1 double]
Jacobian: [51x4 double]
exitflag: 3
firstorderopt: 2.3938e-006
iterations: 3
funcCount: 20
cgiterations: 0
algorithm: 'trust-region-reflective'
message: 'Success, but fitting stopped because change in residuals less than tolerance (TolFun).'
Can anyone tell me the difference between 'Success. Fitting converged to a solution.' and 'Success, but fitting stopped because change in residuals less than tolerance (TolFun).' ?
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Linear and Nonlinear Regression 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!