epiforecasts / scoringutils

Utilities for Scoring and Assessing Predictions
https://epiforecasts.io/scoringutils/
Other
48 stars 20 forks source link

Issue #820 - Replace customise_metric with `purrr::partial` #874

Closed nikosbosse closed 1 month ago

nikosbosse commented 1 month ago

Description

This PR closes #820.

Does what it says on the tin. I updated the documentation and tests to reflect the change.

We could (and maybe should in the future) move the customising metrics part of the documentation for score() into a separate vignette (see e.g. https://github.com/epiforecasts/scoringutils/issues/789).

Thanks to @Bisaloo for your help and suggestions here!

Checklist