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

Running metrics #135

Merged
merged 8 commits into from
Aug 16, 2023
Merged

Running metrics #135

merged 8 commits into from
Aug 16, 2023

Conversation

wiseodd
Copy link
Collaborator

@wiseodd wiseodd commented Aug 8, 2023

Support running metrics in cross validation of prior precision. Rationale: gathering data then computing metric is very expensive if n_data is very large.

There are some failed tests for LLLaplace, but I think they are unrelated.

@wiseodd wiseodd requested a review from runame August 8, 2023 15:39
Copy link
Collaborator

@runame runame left a comment

Choose a reason for hiding this comment

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

Besides my minor comment, LGTM! Can you check how many tests failed? Only 7 should fail and they all should be related to LowRankLaplace (since this hasn't been implemented for the new ASDL version yet).

laplace/utils/metrics.py Outdated Show resolved Hide resolved
laplace/utils/metrics.py Outdated Show resolved Hide resolved
laplace/utils/metrics.py Show resolved Hide resolved
laplace/utils/metrics.py Show resolved Hide resolved
@wiseodd
Copy link
Collaborator Author

wiseodd commented Aug 16, 2023

@runame please check again!

@runame
Copy link
Collaborator

runame commented Aug 16, 2023

LGTM, have you checked the tests?

@wiseodd
Copy link
Collaborator Author

wiseodd commented Aug 16, 2023

Updated the test! @runame

@runame runame merged commit 05bbdfb into mc-subset2 Aug 16, 2023
@runame runame deleted the running-metrics branch August 16, 2023 18:24
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.

2 participants