find_duplicates {scoringutils} | R Documentation |
Find duplicate forecasts
Description
Helper function to identify duplicate forecasts, i.e. instances where there is more than one forecast for the same prediction target.
Usage
find_duplicates(data, forecast_unit)
Arguments
data |
A data.frame as used for |
forecast_unit |
A character vector with the column names that define the unit of a single forecast. If missing the function tries to infer the unit of a single forecast. |
Value
A data.frame with all rows for which a duplicate forecast was found
Examples
example <- rbind(example_quantile, example_quantile[1000:1010])
find_duplicates(example)
[Package scoringutils version 1.2.2 Index]