numdifftools usage in lmfit #806
-
The numdifftools package is used in lmfit for calculation of the covariance matrix. The package is giving various deprecation warnings on our platform. I created a PR to address one of the warnings, but the numdifftools author is not responding. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
I added the If the warnings really bother you, you can for sure just suppress them - I don't recall the exact syntax but Google will know ;) I have no idea if there are alternatives, but have certainly no intentions to change anything in |
Beta Was this translation helpful? Give feedback.
-
@eendebakpt @reneeotten Yeah, I see those deprecations too when running our tests. I agree that a) they are really deprecations that And, maybe related: we should probably plan to push 1.0.4 relatively soon to avoid similar views on slow progress! I don't know that author myself, but would be willing to write to them if we thought that would be helpful. |
Beta Was this translation helpful? Give feedback.
-
@eendebakpt Thanks! Since these are being addressed upstream, don't think there is any need to do anything more about the warnings on our end. |
Beta Was this translation helpful? Give feedback.
-
Speaking of |
Beta Was this translation helpful? Give feedback.
I added the
numdifftools
calculation of the covariance matrix tolmfit
, but have no contact with the author. It appears that the NumPy deprecation warnings were introduced in version 1.22.0 which means there is still a fair amount of time for thenumdifftools
author to resolve this before it becomes a real issue.If the warnings really bother you, you can for sure just suppress them - I don't recall the exact syntax but Google will know ;) I have no idea if there are alternatives, but have certainly no intentions to change anything in
lmfit
until thenumdifftools
package doesn't work anymore because of NumPy failures. But again, presumablynumdifftools
will have resolved it by then.