-
Notifications
You must be signed in to change notification settings - Fork 33
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
add sensitivities for fitzhugh nagumo model #301
Conversation
Codecov Report
@@ Coverage Diff @@
## master #301 +/- ##
==========================================
+ Coverage 82.29% 82.82% +0.52%
==========================================
Files 36 36
Lines 2864 2940 +76
==========================================
+ Hits 2357 2435 +78
+ Misses 507 505 -2
Continue to review full report at Codecov.
|
I have corrected the derivative. it now passes unit test in tensorflow.
Updated FN with correct derivatives
@sanmitraghosh your tests are failing! |
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.
Single internal docstring needs fixing, otherwise happy to merge!
pints/toy/_fitzhugh_nagumo_model.py
Outdated
def simulate_with_sensitivities(self, parameters, times): | ||
return self._simulate(parameters, times, True) | ||
|
||
def _simulate(self, parameters, times, sensitivities): | ||
""" See :meth:`pints.ForwardModel.simulate()`. """ |
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.
This docstring is no longer appropriate! Should have a full one here with:
Arguments:
`parameters`
Lalala
etc. that explains the extra sensitivities switch
add sensitivities for fitzhugh nagumo model
similar to previous logistic sensitivities, but for an ode model