Optimset error: How to get over it?
4 ビュー (過去 30 日間)
古いコメントを表示
I get this error because of optimset. How do I get over it?
TGPKNNPred = TGPKNN(TestInput, Input, Target, Param);
Error using optimset (line 211)
The LineSearchType option is no longer valid. It was only used by the Gauss-Newton algorithm, which is no longer used in Optimization toolbox solvers.
This is the code, I am trying to use: http://research.cs.washington.edu/istc/lfb/software/TGPSource.zip
The error occurs when I try to run the file TGPDemoHMAX.m as it gets to line 31 under the code block
% Twin Gaussian Processes with K Nearest Neighbors.
0 件のコメント
回答 (1 件)
Shashank Prasanna
2014 年 7 月 22 日
It appears that the code you found was written using an older version of MATLAB (R2011a or earlier). LineSearchType has since been depricated as mentioned in the release notes:
You can try fixing this yourself by following the recommendations in the above link (look at R2011b) OR contact the author of the file and ask them to fix it.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Nonlinear Optimization についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!