Why cannot I obtain Levenberg-Marquardt as the default Algorithm for 'fit'?
1 回表示 (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2017 年 7 月 7 日
編集済み: MathWorks Support Team
2021 年 3 月 1 日
"Input Arguments > Name-Value Pair Arguments > Nonlinear Least-Squares Options > Algoritm"
the default is 'Levenberg-Marquardt'.
However 'Trust-Region' is displayed by 'fitoptions' instead.
Why is this happening ('Levenberg-Marquardt' is being changed to 'Trust-Region')?
>> ft = fittype('10^(a*x+b)');
ans = fit(X,Y,ft,'StartPoint',[p(1),p(2)]);
>> fitoptions(ft)
Normalize: 'off'
Exclude: []
Weights: []
Method: 'NonlinearLeastSquares'
Robust: 'Off'
StartPoint: [1x0 double]
Lower: [1x0 double]
Upper: [1x0 double]
Algorithm: 'Trust-Region'
DiffMinChange: 1.0000e-08
DiffMaxChange: 0.1000
Display: 'Notify'
MaxFunEvals: 600
MaxIter: 400
TolFun: 1.0000e-06
TolX: 1.0000e-06
採用された回答
MathWorks Support Team
2021 年 3 月 1 日
編集済み: MathWorks Support Team
2021 年 2 月 26 日
This is a documentation bug.
The default algorithm for 'fit' is 'Trust-Region' since 2002.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Interpolation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!