conf_interval()
occasionally fails with "f(a) and f(b) must have different signs" when run concurrently
#1002
Unanswered
AlexHelloWorld
asked this question in
Q&A
Replies: 1 comment
-
@AlexHelloWorld I can certainly believe that Using multiple processes is probably safer. I would generally not assume that multi-threading was useful for numerically intensive work in Python. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using
lmfit.Model
for fitting a 4-parameter logistic (4PL) model and callingconf_interval()
after fitting to get confidence interval estimation. When I ran this concurrently, some threads raised the following error during confidence interval estimationThe error is intermittent: only some threads fail, and the rest produce identical results.
Observations:
.conf_interval()
, not.fit()
.conf_interval()
Minimal Repro Example:
Questions
Is
conf_interval()
expected to be thread-safe? Any suggestions on how to mitigate this issue?Thank you!
Beta Was this translation helpful? Give feedback.
All reactions