フィルターのクリア

Getting error'"Objective function is undefined at initial point. Fminunc cannot continue''

2 ビュー (過去 30 日間)
SWATHY Kakkooth
SWATHY Kakkooth 2022 年 4 月 17 日
コメント済み: Torsten 2022 年 4 月 17 日
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 件)

Matt J
Matt J 2022 年 4 月 17 日
編集済み: Matt J 2022 年 4 月 17 日
Check what value is being returned by your function at the initial point.
  2 件のコメント
SWATHY Kakkooth
SWATHY Kakkooth 2022 年 4 月 17 日
The cost value returned is NaN. How this can be avoided?
Torsten
Torsten 2022 年 4 月 17 日
By searching why your code produced a NaN result for the cost at the initial point.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeDescriptive Statistics についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by