what is an acceptable values for fval in solver?

5 vues (au cours des 30 derniers jours)
Juan Angel
Juan Angel le 31 Mai 2022
Commenté : Juan Angel le 1 Juin 2022
Hello!!.
Can someone help me with this please.
When using a solver, example lsqnonlin, in your opinion, what is an acceptable values for fval in solver as 4.6744e-11?.
Thank you!!
  3 commentaires
Walter Roberson
Walter Roberson le 1 Juin 2022
sqrt(1.1099e-09) corresponds to 3.3e-5. Is an error of 3 1/2 cents per $1000 in the forecast acceptable?
Juan Angel
Juan Angel le 1 Juin 2022
Thank you very much @Walter Roberson, very good example!.

Connectez-vous pour commenter.

Réponses (1)

Star Strider
Star Strider le 31 Mai 2022
That depends entirely on the data and the model. The lsqnonlin function does not return an ‘fval’ output, however it does return the squared norm of the residual as the second output.
  4 commentaires
Juan Angel
Juan Angel le 31 Mai 2022
Thank you @Torsten and @Star Strider.
Star Strider
Star Strider le 1 Juin 2022
Our pleasure!

Connectez-vous pour commenter.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by