-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parameter plot w/ hier. pars, noise estimation for splines #1061
Conversation
- Implemented the hierarchical optimization of noise for nonlinear-monotone observables. - Cleaned up constants, and solver.
Example of what the plot looks like for the Boehm model with hierarchically estimated noise: Since the scale of the hierarchical parameters is |
Codecov Report
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. @@ Coverage Diff @@
## develop #1061 +/- ##
===========================================
- Coverage 84.88% 84.78% -0.10%
===========================================
Files 147 147
Lines 11252 11384 +132
===========================================
+ Hits 9551 9652 +101
- Misses 1701 1732 +31
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Graph looks nice! Only looked at changes is pypesto/objective/amici/amici.py
and pypesto/petab/importer.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. Looks good as far as I can tell.
Base test is failing very often. Specifically
It seems that the assert is checking whether very small numbers are equal. |
Dunno, but it definitely makes sense to change that to something like numpy.testing.assert_array_almost_equal_nulp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Do we have a test for the inner parameter visualisation? Could be useful just to ensure its running later on (as other visualization tests)
should be fixed in #1064 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine. I agree on Paul's comment, a test for inner parameter visualization would be great.
Added the test for parameter plot of results of problems with inner hierarchical parameters
I've just added a test for the parameter plot with inner hierarchical parameters |
Extended the parameter plots to include hierarchical parameters. Not all, but the interpretable ones: scaling, offset, and noise. So excluding the very numerous spline/optimal scaling inner parameters.
self.inner_parameters
in which it will save the best last inner parameters of the current optimization run (start point).optimization_result
dictionary.parameters.py/handle_inputs
and concatenate them to the outputs accordingly.Implemented the noise estimation for observables with non-linear monotone data.
parameterType
column entry of the noise parameter should besigma
. Then theSplineInnerProblem
will extract the noise parameters.