Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@edaxberger
Copy link
Collaborator

This PR addresses #94 by simply setting backend=None as the default Laplace constructor argument and then determining the backend to use at runtime depending on the likelihood, i.e.

if backend is None:
    backend = AsdlGGN if likelihood == 'classification' else BackPackGGN

Let me know what you think!

@edaxberger edaxberger added the enhancement New feature or request label Apr 11, 2022
@edaxberger edaxberger requested review from aleximmer and runame April 11, 2022 07:42
Copy link
Owner

@aleximmer aleximmer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, looks good to me.

@edaxberger edaxberger merged commit c488f7b into main Apr 11, 2022
@edaxberger edaxberger deleted the asdl_default branch April 11, 2022 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants