ukhsa-collaboration / pygom

ODE modelling in Python
GNU General Public License v2.0
27 stars 20 forks source link

Negative Binomial and Gamma loss functions added #43

Closed MGrunnill closed 4 years ago

MGrunnill commented 4 years ago

Dear Tom

Here are the Negative Binomial and Gamma loss functions added into pygom.

Yours Martin

twomagpi commented 4 years ago

Hi Martin, looks sensible. Could you add some tests in the same manner as those found in ./tests/test_loss_types.py and then I'll merge.

thanks

Tom

MGrunnill commented 4 years ago

Came up with several unittests for the loss functions. This lead to some bug fixes and general improvements. All unittests have passed.