Getting error'"Objective function is undefined at initial point. Fminunc cannot continue''
古いコメントを表示
I have tried a code for multiclass logistic regression based on IRIS dataset. I have tried it for my dataset.
I am getting this error "Objective function is undefined at initial point. Fminunc cannot continue".
回答 (1 件)
Check what value is being returned by your function at the initial point.
2 件のコメント
SWATHY Kakkooth
2022 年 4 月 17 日
Torsten
2022 年 4 月 17 日
By searching why your code produced a NaN result for the cost at the initial point.
カテゴリ
ヘルプ センター および File Exchange で Statistics and Machine Learning Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!