Clear Filters
Clear Filters

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

2 views (last 30 days)
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".

Answers (1)

Matt J
Matt J on 17 Apr 2022
Edited: Matt J on 17 Apr 2022
Check what value is being returned by your function at the initial point.

Categories

Find more on Descriptive Statistics in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!