tidyverts / tidyverts/fabletools
Add `coverage()` accuracy metric
Open
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 98
- Forks
- 37
- PR merge metrics
- No merged PRs in 30d
Description
coverage <- function(.dist, .actual, percentile = 80, na.rm = TRUE, ...){
intvl <- hilo(.dist, percentile)
within <- (.actual > intvl$lower) & (.actual < intvl$upper)
mean(within)
}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue proposes a coverage() function using hilo(.dist, percentile) and mean(within); start by locating the package's existing accuracy metrics and the hilo entry point. Done means the metric is added with the shown percentile and na.rm behavior and its interval check produces the coverage result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- data
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100