-
Notifications
You must be signed in to change notification settings - Fork 31
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
Feature custom llh #656
Feature custom llh #656
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #656 +/- ##
===========================================
+ Coverage 72.9% 72.94% +0.04%
===========================================
Files 48 48
Lines 6946 6972 +26
===========================================
+ Hits 5064 5086 +22
- Misses 1882 1886 +4
Continue to review full report at Codecov.
|
python/amici/sbml_import.py
Outdated
noise_distributions = {} | ||
else: | ||
# Ensure no non-existing observableIds have been specified | ||
# (no problem here, bu usually an upstream bug) |
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.
# (no problem here, bu usually an upstream bug) | |
# (no problem here, but usually an upstream bug) |
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.
Would be awesome to have tests, not sure wheter amici will be able to compute dJydy for all of those functions,.
…into feature_custom_llh
…into feature_custom_llh
@FFroehlich Can you have another look? I added a basic test now (can be improved if that is better). Indeed, testing proves useful, because the |
Awesome, looks good! |
Allow to specify different cost functions (not only a normal distribution, the former only thing), normal staying the default.
So far, 6 fixed distributions (normal, laplace, on lin/log/log10 scale) are supported.