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

Compact version of get_duplicate_forecasts() #909

Open
nikosbosse opened this issue Sep 13, 2024 · 1 comment
Open

Compact version of get_duplicate_forecasts() #909

nikosbosse opened this issue Sep 13, 2024 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@nikosbosse
Copy link
Contributor

Maybe something like the following would be nice.

Normal output

ex <- data.table::copy(example_quantile)
ex <- rbind(ex, ex[1000:1110])
duplicates <- get_duplicate_forecasts(ex)
duplicates
image

Compact version:

fu <- get_forecast_unit(duplicates)
duplicates[, .(n_duplicates = .N), by = c(fu)]
image

Could e.g. be an argument compact = TRUE or something like that.

@nikosbosse nikosbosse added the enhancement New feature or request label Sep 13, 2024
@nikosbosse nikosbosse added this to the scoringutils-2.x milestone Sep 13, 2024
@seabbs
Copy link
Contributor

seabbs commented Sep 16, 2024

agree. This would be a good issue for a new contributor

@seabbs seabbs added good first issue Good for newcomers help wanted Extra attention is needed labels Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
Development

No branches or pull requests

2 participants