Effacer les filtres
Effacer les filtres

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

2 vues (au cours des 30 derniers jours)
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".

Réponses (1)

Matt J
Matt J le 17 Avr 2022
Modifié(e) : Matt J le 17 Avr 2022
Check what value is being returned by your function at the initial point.
  2 commentaires
SWATHY Kakkooth
SWATHY Kakkooth le 17 Avr 2022
The cost value returned is NaN. How this can be avoided?
Torsten
Torsten le 17 Avr 2022
By searching why your code produced a NaN result for the cost at the initial point.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Descriptive Statistics dans Help Center et File Exchange

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by