Skip to content
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

Bayes Estimators: Loss functions with flexible signature #147

Merged
merged 2 commits into from
Mar 12, 2024

Conversation

han-ol
Copy link
Contributor

@han-ol han-ol commented Mar 11, 2024

Implementation proposal to the signature change of the loss_fun used for Amortized Bayes Estimators as discussed in #121.

It stays as simple as before to use norm_ord, but the optional loss_fun argument expects a function object with two arguments, rather than the difference of parameters and network output.

@stefanradev93
Copy link
Owner

Great idea!

@stefanradev93 stefanradev93 merged commit 78393cb into stefanradev93:Development Mar 12, 2024
@han-ol
Copy link
Contributor Author

han-ol commented Mar 12, 2024

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants