Conversation
Codecov Report
@@ Coverage Diff @@
## master #202 +/- ##
==========================================
- Coverage 95.15% 93.47% -1.69%
==========================================
Files 28 29 +1
Lines 2663 2712 +49
==========================================
+ Hits 2534 2535 +1
- Misses 129 177 +48
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
|
Looks good! I hope @jgabry has also time to have a look? PR is small and clear, so I hope it's not taking much time |
|
I think this PR could be merged adding just the loo_predictive_error function, but it would be useful to think the bigger picture and how we could support loo_compare with different criteria |
|
Looking at this now. Sorry for the delay! |
|
@LeeviLindgren Thanks for the PR! Sorry for the delay in reviewing it. I'll make a few review comments now, but can you also edits from maintainers? You can do that by following the instructions here: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/allowing-changes-to-a-pull-request-branch-created-from-a-fork |
jgabry
left a comment
There was a problem hiding this comment.
This looks great, thanks! I made a bunch of comments/suggestions but they're all really minor.
Thanks for the comments, I will take a look! Edits from maintainers should be allowed. |
Co-authored-by: Jonah Gabry <jgabry@gmail.com>
|
@avehtari also suggested that it would be nice to support model comparison using these additional metrics. I suggest we try to merge this PR which implements the metrics, and I can start working on the functionality to support comparison. The initial idea I had was to write a method for |
|
Thanks for the updates. Waiting to hear from @avehtari on the couple of questions in my review comments (about the argument names) but after that we can merge this (assuming the GitHub Actions checks pass).
Yeah I agree it would be nice to be able to do model comparison with these. My initial thought is that your suggestion of using a class and a |
|
I agree with @jgabry's suggestions |
|
|
Looks good, thanks! Merging now. |
Hi!
This PR adds functions to compute additional LOO utilities: mean absolute error, mean squared error, and root mean squared error for regression problems and accuracy and balanced accuracy for binary classification. I have already discussed this with @avehtari and opened a PR for more discussion and feedback.