Skip to content

Provide derivatives in a Model #854

Closed Answered by newville
lellid asked this question in Q&A
Discussion options

You must be logged in to vote

@lellid I believe we do not have an example of that. In principle, it would be no different than using with Minimizer. For all cases using lmfit, providing a jacobian function is complicated if bounds are placed on Parameters. To handle that, the jacobian function would have to include the effect of the bounds transformation by chaining the derivatives. I think this would not be impossible, and might even be "not hard", but I don't know of anyone who has actually done this, or if it could be automated easily.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by lellid
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants