Fides optimizer: clarify use of Hessian and FIM#1706
Fides optimizer: clarify use of Hessian and FIM#1706
Conversation
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #1706 +/- ##
===========================================
- Coverage 83.84% 83.81% -0.04%
===========================================
Files 164 164
Lines 14345 14346 +1
===========================================
- Hits 12028 12024 -4
- Misses 2317 2322 +5 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
from what I recall |
|
At least in the current ( pyPESTO/pypesto/optimize/optimizer.py Lines 1702 to 1705 in 86a0076
|
e07e18c to
86a0076
Compare
|
Thanks for the feedback -- I tried to resolve this by changing some docstrings. |
PaulJonasJost
left a comment
There was a problem hiding this comment.
Thanks for this 🙏🏼
pypesto/optimize/optimizer.py
Outdated
| ) | ||
| _hessian_update = fides.BFGS() | ||
| else: | ||
| warnings.warn( |
There was a problem hiding this comment.
I find it puzzling that we print a warning in a default setting. Rather a debug? (unless we expect the user to set a value usually)
There was a problem hiding this comment.
Sure, done now (also for the old warning). I also updated the docstring again to make explicit the assumption that the problem objective is actually the FIM.
Currently it looks like a user needs to specify
pypesto.optimize.FidesOptimizer(..., hessian_update=None)to ensure Fides uses the provided Hessian. It appears that default behavior does not use the Hessian from the objective when possible.