Getting error'"Objective function is undefined at initial point. Fminunc cannot continue''
Mostra commenti meno recenti
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".
Risposte (1)
Check what value is being returned by your function at the initial point.
2 Commenti
SWATHY Kakkooth
il 17 Apr 2022
Torsten
il 17 Apr 2022
By searching why your code produced a NaN result for the cost at the initial point.
Categorie
Scopri di più su Statistics and Machine Learning Toolbox in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!