-
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
Custom loss functions #1540
Comments
Hi Ben, do you have a single PEtab problem? On what level do you want to assign weights? What is your noise model? Weighted observables Weighted timepoints To achieve weighted timepoints, assuming additive normal noise:
Feel free to share a snippet of your PEtab problem if you want me to check that the weighting is implemented correctly. |
Hi! Thanks for the response. E.g. if I want to assign double the weight to the timepoint at 21.3333333333, I now add these bottom two rows:
This effectively doubles the weight for the later timepoint (albeit in a bit of a hacky way) right? Thanks again and have a great day! |
There is no need to separate timepoints by that tiny fraction, you can have multiple measurements at the same timepoint. |
Ah didn't know that, thanks for the swift reply and have a happy new year! |
Hi!
Thanks for all the great work on this project so far, it's been of great use!
I was wondering what the best way is to adjust the loss function that is being minimised when working with peTAB files. E.g. to assign different weights to measurements at different time points. Couldn't really find anything on that in the documentation unfortunately.
Happy to hear what your thoughts are!
Cheers,
Ben
The text was updated successfully, but these errors were encountered: