Skip to content

Warning if Parameter boundary is reached during fit. #868

Closed Answered by newville
Julian-Hochhaus asked this question in Q&A
Discussion options

You must be logged in to vote

@Julian-Hochhaus @reneeotten we check with np.allcose(par.value, par.min) or np.allcose(par.value, par.max) inside of fit_report(). I could be convinced that we want to add a property for that (and maybe the other thing we also check for np.allcose(par.value, par.init_value)), but it doesn't seem too hard as a downstream check.

If we have those properties, would we then want to add methods to "lift all boundaries that I hit" or "set vary=False for all parameters at initial values"? There are probably lots of possibilities there. I doubt we could capture all of them. In the face of such doubt, simply explaining (maybe FAQ, maybe we need a User Guide) what might be done seems OK. I lean tow…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Julian-Hochhaus
Comment options

Answer selected by Julian-Hochhaus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants