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

3 次查看(过去 30 天)
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.

类别

Help CenterFile Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by